[wp-trac] [WordPress Trac] #25604: first argument of wpdb::prepare should have a placeholder

WordPress Trac noreply at wordpress.org
Sun Feb 2 21:46:08 UTC 2014


#25604: first argument of wpdb::prepare should have a placeholder
------------------------------+---------------------
 Reporter:  ounziw            |       Owner:  nacin
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  3.9
Component:  Database          |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"27073"]:
 {{{
 #!CommitTicketReference repository="" revision="27073"
 Throw an incorrect usage notice when the query argument of wpdb::prepare()
 does not include a placeholder.

 props ounziw.
 fixes #25604.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25604#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list