[wp-trac] [WordPress Trac] #16228: $wpdb->query and DROP TABLE

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 14 18:51:11 UTC 2011

#16228: $wpdb->query and DROP TABLE
 Reporter:  elfin         |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Future Release
Component:  Database      |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
Changes (by mdawaffe):

 * status:  closed => reopened
 * resolution:  invalid =>
 * milestone:   => Future Release


 westi says it's intentional on the part of the Debug Bar.  This is the old
 @-suppression is evil argument (which I mostly agree with).

 So I guess we should reopen and push to Future.

 The @ suppression should be ditched and the code tweaked to handle more

 wpdb::query( DROP ) should maybe just return true/false instead?

Ticket URL: <http://core.trac.wordpress.org/ticket/16228#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list