[wp-trac] [WordPress Trac] #22191: In update_metadata(), compare old/new values before deciding whether to call add_metadata()
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 15 05:51:40 UTC 2012
#22191: In update_metadata(), compare old/new values before deciding whether to
call add_metadata()
--------------------------+--------------------------
Reporter: nacin | Owner: markjaquith
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Performance | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+--------------------------
Changes (by markjaquith):
* owner: => markjaquith
* status: new => closed
* resolution: => fixed
Comment:
In [22231]:
{{{
#!CommitTicketReference repository="" revision="22231"
Defer the meta_id-fetching query until after comparison of the previous
value, so that redundant calls to update_metadata() can bail without
making that query. props nacin. fixes #22191
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22191#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list