[wp-trac] Re: [WordPress Trac] #7018: update_post_meta should add nonexistent values

WordPress Trac wp-trac at lists.automattic.com
Thu May 22 00:09:16 GMT 2008


#7018: update_post_meta should add nonexistent values
------------------------------+---------------------------------------------
 Reporter:  filosofo          |        Owner:  anonymous
     Type:  defect            |       Status:  reopened 
 Priority:  normal            |    Milestone:  2.6      
Component:  General           |      Version:           
 Severity:  normal            |   Resolution:           
 Keywords:  update_post_meta  |  
------------------------------+---------------------------------------------
Changes (by mdawaffe):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 {{{update_meta()}}} is now double escaping the meta_value.

 {{{$wpdb->update(}}} does escaping for you; you don't need to call
 {{{$wpdb->escape()}}} first.

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


More information about the wp-trac mailing list