[wp-trac] [WordPress Trac] #23756: make_clickable should not convert the URLs in pre, code tags

WordPress Trac noreply at wordpress.org
Thu Mar 14 10:18:44 UTC 2013


#23756: make_clickable should not convert the URLs in pre,code tags
--------------------------+------------------------------
 Reporter:  alex-ye       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:4 alex-ye]:
 > Replying to [comment:3 alexvorn2]:
 > > does this function is used when displaying the post? -> the_content()
 > Yes

 No, it isn't: #18214.

 > The purpose of this ticket is to have a clean snippet code posts

 `make_clickable()` is only applied to `comment_text()` by default: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/default-
 filters.php#L151

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23756#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list