[wp-trac] [WordPress Trac] #21459: Cleanup switch_to_blog() and restore_current_blog()
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 25 23:44:24 UTC 2012
#21459: Cleanup switch_to_blog() and restore_current_blog()
----------------------------+-----------------------
Reporter: ryan | Owner: ryan
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 3.5
Component: Multisite | Version: 3.4.1
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+-----------------------
Changes (by nacin):
* type: enhancement => task (blessed)
Comment:
Replying to [comment:34 ryan]:
> That's the same as ever though.
Yeah, I guess this should be either `$GLOBALS['_wp_switched_stack']` or
`ms_is_switched()`. We kept `$switched` around for compatibility, but
should avoid using it in case plugins clash with it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21459#comment:35>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list