[wp-trac] [WordPress Trac] #11608: wpdb->prepare() is broken
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 25 16:00:26 UTC 2009
#11608: wpdb->prepare() is broken
--------------------------+-------------------------------------------------
Reporter: hakre | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Database | Version: 2.9
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):
* keywords: has-patch tested => has-patch
Comment:
also, I believe the patch leads to double quoting of quoted %s. lines 563
and 564 should be left untouched.
{{{
$wpdb->prepare("'%s'"); // ''%s''
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11608#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list