[wp-trac] [WordPress Trac] #41983: Lead by example: pass unquoted placeholders to $wpdb->prepare()

WordPress Trac noreply at wordpress.org
Mon Oct 2 00:21:08 UTC 2017


#41983: Lead by example: pass unquoted placeholders to $wpdb->prepare()
----------------------------+---------------------
 Reporter:  jrf             |       Owner:  pento
     Type:  task (blessed)  |      Status:  closed
 Priority:  normal          |   Milestone:  4.9
Component:  Database        |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:                  |     Focuses:  docs
----------------------------+---------------------

Comment (by pento):

 In [changeset:"41660"]:
 {{{
 #!CommitTicketReference repository="" revision="41660"
 Docs: Clarify the docs for `wpdb::prepare()`.

 Make the usage of the `%` wildcard in queries clearer.

 Props jrf.
 Fixes #41983.
 }}}

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


More information about the wp-trac mailing list