[wp-trac] [WordPress Trac] #5176: Method for mass unescaping

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 9 23:17:54 GMT 2007


#5176: Method for mass unescaping
-------------------------+--------------------------------------------------
 Reporter:  markjaquith  |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.4      
Component:  General      |     Version:  2.3      
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 We do a lot of:

 {{{
 $foo = stripslashes($foo);
 $bar = stripslashes($bar);
 }}}

 Better:

 {{{
 $wpdb->unescape($foo, $bar);
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5176>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list