[wp-trac] [WordPress Trac] #26106: Passing empty array to wpdb::update() generates invalid SQL

WordPress Trac noreply at wordpress.org
Tue Sep 2 04:58:00 UTC 2014


#26106: Passing empty array to wpdb::update() generates invalid SQL
--------------------------+-----------------------------
 Reporter:  Viper007Bond  |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Database      |     Version:
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  dev-feedback  |     Focuses:
--------------------------+-----------------------------
Changes (by nacin):

 * status:  reopened => closed
 * resolution:   => wontfix
 * milestone:  4.0 =>


Comment:

 I left the unit tests here to enforce the design decision. If anyone tries
 to change this five years from now, the tests will fail, and they'll be
 led here.

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


More information about the wp-trac mailing list