[wp-trac] Re: [WordPress Trac] #7084: Widget titles need to be auto-escaped.

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 30 00:44:47 GMT 2008

#7084: Widget titles need to be auto-escaped.
 Reporter:  Otto42   |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  normal   |    Milestone:  2.9      
Component:  General  |      Version:  2.5.1    
 Severity:  normal   |   Resolution:           
 Keywords:           |  
Comment (by jtatum):

 The attached patch implements the widget_title filter. A quick scan of
 widgets.php shows that most widgets invoke this filter for the widget
 title, however it is not implemented by default. Figuring that titles for
 widgets would be similar to most other titles, this is generally used in a
 way similar to the blog's title, this small diff applies the same filter
 sets as are applied to wp_title.

Ticket URL: <http://trac.wordpress.org/ticket/7084#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list