[wp-trac] [WordPress Trac] #11318: $wpdb->prepare() Chokes on LIKE conditions?
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 4 10:15:58 UTC 2009
#11318: $wpdb->prepare() Chokes on LIKE conditions?
--------------------------+-------------------------------------------------
Reporter: miqrogroove | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Database | Version: 2.8.4
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by Denis-de-Bernardy):
You'll also get false with wpdb->get_results() with that example sql. :-)
that said, you are correct that it hates LIKE statements:
Warning: vsprintf() [function.vsprintf]: Too few arguments in
/Users/denis/Sites/sem-pro/wp-includes/wp-db.php on line 539
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11318#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list