[wp-trac] [WordPress Trac] #11608: wpdb->prepare() is broken
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 25 17:11:11 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 dev-feedback
--------------------------+-------------------------------------------------
Comment(by miqrogroove):
@Denis It's a semantic nuance. It literally says %% is treated as a %
literal. It doesn't say that a bare % is not treated as a % literal, or
that %' is not treated as %', or that all % literals must be converted to
%%. Among those phrases, they chose the most ambiguous one ;)
@hakre Please explain what you're getting at? Why in the world would
%%'string value' ever appear in a query?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11608#comment:40>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list