Making WordPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4958 closed enhancement (fixed)

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

Reported by: diddledani's profile diddledani Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: General Keywords: has-patch
Cc:

Description

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 diddledani 5 years ago.
Patch to add rel="nofollow ugc" to user-generated content

Download all attachments as: .zip

Change History (7)

@diddledani
5 years ago

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

#1 @diddledani
5 years ago

  • Keywords has-patch added

#2 @diddledani
5 years ago

  • Type changed from defect to enhancement

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


5 years ago

#4 @dd32
5 years ago

In 9469:

Support Forums: Add the ugc class to user supplied URLs.

Props diddledan.
See #4958.

#5 @dd32
5 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 9470:

Plugin Directory: Add ugc to rel="nofollow" links in user supplied content.

Props diddledan.
Fixes #4958.

#6 @Otto42
5 years ago

In 9708:

Support forums: Add ugc to links in topic and replies content (which already had nofollow). See #4958.

Note: See TracTickets for help on using tickets.