[wp-trac] Re: [WordPress Trac] #9168: Double attribute escaping for post attachments

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 24 15:54:24 GMT 2009


#9168: Double attribute escaping for post attachments
--------------------------+-------------------------------------------------
 Reporter:  dwc           |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.7.2    
Component:  Media         |     Version:  2.7      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by sambauers):

 This should use wp_specialchars, not attribute_escape. The new
 wp_specialchars does not double encode entities by default.

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


More information about the wp-trac mailing list