[wp-trac] [WordPress Trac] #10563: Text widget adds extra slashes when edited by someone without the unfiltered_html capability

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 9 12:36:36 UTC 2009


#10563: Text widget adds extra slashes when edited by someone without the
unfiltered_html capability
--------------------------+-------------------------------------------------
 Reporter:  jamescollins  |        Owner:  azaozz  
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:  2.9     
Component:  Widgets       |      Version:  2.8     
 Severity:  normal        |   Resolution:          
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):

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


Comment:

 The patch that got applied seems wrong. wp_filter_post_kses() expects
 slashed data, and we're feeding it unslashed data.

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


More information about the wp-trac mailing list