Making WordPress.org

Opened 8 days ago

Last modified 7 days ago

#4958 new enhancement

Add rel="nofollow ugc" to user-generated links

Reported by: diddledan Owned by:
Milestone: Priority: normal
Component: General Keywords: has-patch


Currently W.org adds rel=nofollow to links generated by users. Following recent changes referenced at https://webmasters.googleblog.com/2019/09/evolving-nofollow-new-ways-to-identify.html and the precedent by WordPress Core at https://core.trac.wordpress.org/ticket/48022 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.

The bbpress ticket at https://bbpress.trac.wordpress.org/ticket/3318 contains the bbpress-specific changes to add ugc into topic and reply content. Once that is committed to bbpress trunk and filtered through onto W.org, combined with the patch attached here committed to W.org and deployed, the changes will be complete.

Attachments (1)

4958.diff (3.4 KB) - added by diddledan 8 days ago.
Patch to add rel="nofollow ugc" to user-generated content

Download all attachments as: .zip

Change History (4)

8 days ago

Patch to add rel="nofollow ugc" to user-generated content

#1 @diddledan
8 days ago

  • Keywords has-patch added

#2 @diddledan
8 days ago

  • Type changed from defect to enhancement

This ticket was mentioned in Slack in #bbpress by casiepa. View the logs.

7 days ago

Note: See TracTickets for help on using tickets.