[wp-trac] [WordPress Trac] #11608: wpdb->prepare() is broken
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 24 23:35:12 UTC 2009
#11608: wpdb->prepare() is broken
-----------------------------+----------------------------------------------
Reporter: hakre | Owner: ryan
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Database | Version: 2.9
Severity: normal | Keywords: needs-patch dev-feedback
-----------------------------+----------------------------------------------
Comment(by miqrogroove):
{{{
$wpdb->prepare("SELECT 1 WHERE table.row LIKE '%stupid' AND othertable.row
= %s", $input)
}}}
Now you might have a problem.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11608#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list