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

WordPress Trac noreply at wordpress.org
Sun Dec 23 12:03:25 UTC 2012


#12819: wpdb::prepare support for null
-------------------------+-----------------------
 Reporter:  roxaz        |       Owner:  ryan
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:
Component:  Database     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------
Changes (by mark-k):

 * status:  closed => reopened
 * resolution:  duplicate =>


Comment:

 Just ran into a related question on stackexchange
 http://wordpress.stackexchange.com/questions/76742/how-to-pass-null-in-
 where-array-for-wpdb-update.

 IMHO even if there will be a move to PDO in 3.6, especially if the PDO
 based DB class will solve this issue, it is time to fix it in what will be
 the legacy code. It will be bad if PDO code is not fully compatible with
 legacy code.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12819#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list