[wp-trac] [WordPress Trac] #20223: simulate mysql_real_escape_string when not yet connected to DB

WordPress Trac wp-trac at lists.automattic.com
Wed May 16 19:49:34 UTC 2012


#20223: simulate mysql_real_escape_string when not yet connected to DB
---------------------------+------------------------------
 Reporter:  scottconnerly  |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Database       |     Version:  3.3.1
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------------------
Changes (by kurtpayne):

 * cc: kpayne@… (added)
 * keywords:  needs-patch => has-patch


Comment:

 This seems like a good idea.  `wpdb::weak_escape` is already present as a
 wrapper to `addslashes`.

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


More information about the wp-trac mailing list