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

WordPress Trac noreply at wordpress.org
Thu Mar 9 00:18:44 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.2
Component:  Comments      |     Version:  5.7.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"55495" 55495]:
 {{{
 #!CommitTicketReference repository="" revision="55495"
 Formatting: Restore consistent quotes in `_make_web_ftp_clickable_cb()`.

 After the introduction of `_make_clickable_rel_attr()` in an earlier
 commit, the function ended up returning link markup with a mix of single
 and double quotes.

 This commit ensures that `_make_web_ftp_clickable_cb()` always returns
 double quotes, restoring consistency with other similar callback functions
 used by `make_clickable()`:
 * `_make_url_clickable_cb()`
 * `_make_email_clickable_cb()`

 Follow-up to [55289].

 See #53290, #56444.
 }}}

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


More information about the wp-trac mailing list