Skip to:

Opened 4 years ago

Last modified 3 years ago

#3318 reopened enhancement

Add rel="nofollow ugc" to links in topics and replies

Reported by: diddledani's profile diddledani Owned by:
Milestone: Priority: high
Severity: major Version: trunk
Component: API - Formatting Keywords: has-patch dev-feedback
Cc: SirLouen


Currently bbpress adds rel=nofollow to links in topics and replies. Following recent changes referenced at and the precedent by WordPress Core at we should add to the rel attribute the additional ugc value to indicate User-Generated Content. Attached is a patch to do just this based in part on WordPress Core's implementation.

Attachments (1)

3318.diff (4.3 KB) - added by diddledani 4 years ago.
Patch to add rel="nofollow ugc" to topic and reply content when displaying

Download all attachments as: .zip

Change History (5)

4 years ago

Patch to add rel="nofollow ugc" to topic and reply content when displaying

#1 @diddledani
4 years ago

  • Keywords has-patch added
  • Type changed from defect to enhancement
  • Version set to trunk

#2 @johnjamesjacoby
3 years ago

#3361 was marked as a duplicate.

#3 @SirLouen
3 years ago

  • Cc SirLouen added
  • Component changed from General to API - Formatting
  • Keywords dev-feedback added
  • Milestone Awaiting Review deleted
  • Priority changed from normal to high
  • Resolution set to invalid
  • Severity changed from normal to major
  • Status changed from new to closed

@johnjamesjacoby note that @diddledan already provided a possible patch there which is fine.

The only problem is that this patch doesnt follow the new core guidelines based on wp_rel_callback which is a little bit more generic and permits adding other rel elements like UGC in this case with wp_rel_ugc which is way more simpler.

More info:

#4 @SirLouen
3 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened
Note: See TracTickets for help on using tickets.