[wp-trac] [WordPress Trac] #21459: Cleanup switch_to_blog() and restore_current_blog()
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 1 14:25:35 UTC 2012
#21459: Cleanup switch_to_blog() and restore_current_blog()
----------------------------+---------------------
Reporter: ryan | Owner: ryan
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 3.5
Component: Multisite | Version: 3.4.1
Severity: normal | Resolution: fixed
Keywords: has-patch |
----------------------------+---------------------
Changes (by ryan):
* status: reopened => closed
* resolution: => fixed
Comment:
In [22087]:
{{{
#!CommitTicketReference repository="" revision="22087"
Reinit roles and the current user after switching the cache to the new
blog in switch_to_blog() and restore_current_blog(). Props joostdekeijzer.
fixes #21459
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21459#comment:40>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list