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

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 10 17:05:28 GMT 2008


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

 insert() and update() don't do prepare().  I would like to pass format
 specifiers to them somehow before moving everything over.

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


More information about the wp-trac mailing list