[wp-trac] [WordPress Trac] #15158: wpdb insert & update with null values

WordPress Trac noreply at wordpress.org
Fri Jan 4 18:29:33 UTC 2013


#15158: wpdb insert & update with null values
-------------------------+-----------------------------
 Reporter:  westi        |       Owner:  sorich87
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  Future Release
Component:  Database     |     Version:  3.0.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------

Comment (by jbutkus):

 Replying to [comment:26 miqrogroove]:
 > I suggest developing some test cases that have arguments missing so that
 you can see the patch causes prepare() to return a value, which it should
 not do.

 I would vote for adding it in a different commit, as it is a separate
 feature (which was not checked for in the past), but here is my
 [attachment:wpdb_prepare_null.15158.v3.patch​ attempt upon this] question.

 It sounds logical to resolve it within this very same issue, as now it is
 easy to add.

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


More information about the wp-trac mailing list