[wp-trac] [WordPress Trac] #26410: Updating or deleting options via update_option or delete_option leaves blog-details cache object stale
WordPress Trac
noreply at wordpress.org
Sat Jun 28 04:06:14 UTC 2014
#26410: Updating or deleting options via update_option or delete_option leaves
blog-details cache object stale
-------------------------------------+-------------------------------------
Reporter: codix | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.0
Component: Options, Meta APIs | Version: 3.8
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: multisite, performance
-------------------------------------+-------------------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"28881"]:
{{{
#!CommitTicketReference repository="" revision="28881"
In multisite, on the `updated_option` action, if the option name is one
of: 'blogname', 'siteurl', 'post_count' - refresh the blog details cache
for the current blog id.
Adds unit test.
Props kovshenin.
Fixes #26410.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26410#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list