[wp-trac] [WordPress Trac] #11605: wpdb::_weak_escape() is an alias to addslashes only

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 15 13:15:18 UTC 2010


#11605: wpdb::_weak_escape() is an alias to addslashes only
---------------------------------------+------------------------------------
 Reporter:  hakre                      |        Owner:  ryan    
     Type:  defect (bug)               |       Status:  reopened
 Priority:  normal                     |    Milestone:  3.0     
Component:  Security                   |      Version:  2.9     
 Severity:  normal                     |   Resolution:          
 Keywords:  has-patch tested featured  |  
---------------------------------------+------------------------------------

Comment(by miqrogroove):

 Replying to [comment:16 Denis-de-Bernardy]:
 > I like 11605.5.patch. does the same thing, except that it's simpler to
 read. could we get this checked in?

 I like the simplification of escape(), but I'm confused by what's going on
 with the deletes in that patch?

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


More information about the wp-trac mailing list