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

WordPress Trac noreply at wordpress.org
Wed Oct 16 18:25:26 UTC 2019


#48022: Support "ugc" rel attribute value in comments
-------------------------------------------------+-------------------------
 Reporter:  audrasjb                             |       Owner:
                                                 |  SergeyBiryukov
     Type:  task (blessed)                       |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.3
Component:  Comments                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests has-dev-    |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Reopening this to investigate some reports that `ugc` is not being added
 correctly.

 I have done some testing and can confirm what
 [https://wordpress.org/support/topic/link-attribute-ugc-not-implemented-
 in-comment-on-5-3-beta3/#post-12033121 this person has reported].

 This feature is only working when the link actually has an `<a>` tag (like
 when a link is added when editing a comment. If a user pastes a URL link
 into the comment without surrounding `<a>` tags, only `nofollow` is added
 to the `rel` attribute.

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


More information about the wp-trac mailing list