[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
Fri Apr 25 12:28:35 GMT 2008


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

 Just noticed this: http://trac.wordpress.org/browser/trunk/wp-
 includes/functions.php#L527
 {{{
 532: $type = $wpdb->escape( $headers['content-type'] );
 }}

 I assume it was probably left over from when the raw query was there..
 removed it in 6836.5-2.diff

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


More information about the wp-trac mailing list