[wp-trac] [WordPress Trac] #48022: Support "ugc" rel attribute value in comments

WordPress Trac noreply at wordpress.org
Thu Sep 12 10:14:19 UTC 2019


#48022: Support "ugc" rel attribute value in comments
-------------------------------------------------+-------------------------
 Reporter:  audrasjb                             |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.3
Component:  Comments                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-patch needs-        |     Focuses:
  testing needs-unit-tests                       |
-------------------------------------------------+-------------------------

Comment (by joostdevalk):

 In general, we should be adding `rel="nofollow ugc"` and not just
 `rel="ugc"`. While Google now supports `rel="ugc"`, other search engines
 only support `rel="nofollow"`, so we should really combine them and
 deliver both.

 Other than that the patch looks good @audrasjb but I'm wondering where
 you're hooking it to comment content? We also need to change the
 attributes on comment author links from `nofollow` to `nofollow ugc`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48022#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list