[wp-trac] [WordPress Trac] #11608: wpdb->prepare() is broken
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 25 00:39:29 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 tested
--------------------------+-------------------------------------------------
Changes (by dd32):
* type: feature request => defect (bug)
* milestone: Future Release => 3.0
Comment:
> Execute and read the code to see for yourself. There is nothing better
than the own reception.
Using %% does work for me. Which was the request for more information, It
had not clicked that using %%s specifically caused the error.
> Per definition query is data passed into the function.
Yes, By definition. But in this case, The data is the query params, I'm
talking on a code level, not a syntax level.
> congrats making it even more complicated.
It fixes the current issue with the current parser which will be used in
2.8.x and 2.9.x for awhile yet. Whilst leaving it open for someone to
suggest a replacement.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11608#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list