[wp-trac] [WordPress Trac] #13350: update_metadata() updates unchanged values

WordPress Trac wp-trac at lists.automattic.com
Tue May 11 17:30:12 UTC 2010


#13350: update_metadata() updates unchanged values
--------------------------+-------------------------------------------------
 Reporter:  ryan          |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  Optimization  |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 update_metadata() generates an UPDATE query even if the value is the same
 as in the DB.  When saving nav menus, for example, this results in many
 pointless updates.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13350>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list