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

WordPress Trac noreply at wordpress.org
Tue Sep 19 16:29:08 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:"41494"]:
 {{{
 #!CommitTicketReference repository="" revision="41494"
 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 3.8 branch.
 }}}

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


More information about the wp-trac mailing list