[wp-trac] [WordPress Trac] #53290: Prevent tagging certain links in comments with rel="nofollow ugc"

WordPress Trac noreply at wordpress.org
Tue Feb 7 18:52:38 UTC 2023


#53290: Prevent tagging certain links in comments with rel="nofollow ugc"
--------------------------+---------------------
 Reporter:  galbaras      |       Owner:  jorbin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.3
Component:  Comments      |     Version:  5.7.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by jorbin):

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


Comment:

 In [changeset:"55289" 55289]:
 {{{
 #!CommitTicketReference repository="" revision="55289"
 Comments: Improve rel attribute usage in comments.

 Internal links should be followed and it should be easier to modify other
 rel attributes on comments. This adds a helper function for determining if
 a URL is internal and also adds some new filters to make it easy to modify
 rel attributes in comments.

 Props thomasplevy, desrosj, sabernhardt, benish74, samiamnot, galbaras,
 jorbin.

 Fixes #53290, #56444.
 }}}

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


More information about the wp-trac mailing list