[wp-trac] [WordPress Trac] #12819: wpdb::prepare support for null

WordPress Trac noreply at wordpress.org
Tue Sep 19 16:24:19 UTC 2017


#12819: wpdb::prepare support for null
-------------------------+----------------------
 Reporter:  roxaz        |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Database     |     Version:
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  needs-patch  |     Focuses:
-------------------------+----------------------

Comment (by aaroncampbell):

 In [changeset:"41491"]:
 {{{
 #!CommitTicketReference repository="" revision="41491"
 Database: Don’t trigger `_doing_it_wrong()` for null values in
 `wpdb::prepare()`.

 While `wpdb::prepare()` does not support null values (see #12819) they
 still appear in the wild like in the WordPress Importer and other plugins.

 Merges [41483] to 4.1 branch.
 }}}

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


More information about the wp-trac mailing list