[wp-trac] [WordPress Trac] #25545: Invalidate post cache when a user is removed from a blog
WordPress Trac
noreply at wordpress.org
Sun Feb 9 21:46:45 UTC 2014
#25545: Invalidate post cache when a user is removed from a blog
--------------------------+-----------------------------
Reporter: nprasath002 | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.9
Component: Cache API | Version: 3.0
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"27152"]:
{{{
#!CommitTicketReference repository="" revision="27152"
Collect the post and link ids that will be reassigned before running the
update in `remove_user_from_blog()`. Use `array_walk()` instead of
`array_map()` when invalidating the caches for the collected ids.
Props kovshenin.
Fixes #25545.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25545#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list