[wp-trac] [WordPress Trac] #19282: wp_get_attachment_link() does not allow HTML in link text

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 30 16:23:46 UTC 2012


#19282: wp_get_attachment_link() does not allow HTML in link text
------------------------------+------------------
 Reporter:  SergeyBiryukov    |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.4
Component:  General           |     Version:  2.8
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------
Changes (by nacin):

 * keywords:  has-patch => has-patch commit


Comment:

 We try to avoid kses on the frontend for performance reasons.

 Removing the escaping seems appropriate here.

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


More information about the wp-trac mailing list