[wp-trac] Re: [WordPress Trac] #9705: There should be no strip_slashes() in WP_Widget::update() - or should it?

WordPress Trac wp-trac at lists.automattic.com
Sat May 16 02:04:52 GMT 2009


#9705: There should be no strip_slashes() in WP_Widget::update() - or should it?
--------------------------------------------------+-------------------------
 Reporter:  hakre                                 |        Owner:  anonymous
     Type:  defect (bug)                          |       Status:  closed   
 Priority:  normal                                |    Milestone:           
Component:  Widgets                               |      Version:  2.8      
 Severity:  normal                                |   Resolution:  invalid  
 Keywords:  needs-patch 2nd-opinion dev-feedback  |  
--------------------------------------------------+-------------------------

Comment(by hakre):

 Suggestion: Expect Slashed Data. As in the title in the Search Widget (one
 of the latest widget updates afaik). $newinstance must be stripslashed
 before title can be used.

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


More information about the wp-trac mailing list