[wp-trac] [WordPress Trac] #6836: Prepare queries using INSERT/UPDATE should use wpdb::insert() or wpdb::update()

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 27 09:55:32 UTC 2009


#6836: Prepare queries using INSERT/UPDATE should use wpdb::insert() or
wpdb::update()
----------------------------+-----------------------------------------------
 Reporter:  DD32            |       Owner:  ryan     
     Type:  defect (bug)    |      Status:  new      
 Priority:  normal          |   Milestone:  3.0      
Component:  Administration  |     Version:  2.6      
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------

Comment(by dd32):

 > attachment 6836.7.diff  added
  * Removed a useless => %d specification on a query
    * $wpdb->field_types takes care of those fields.

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


More information about the wp-trac mailing list