[wp-trac] [WordPress Trac] #21459: Cleanup switch_to_blog() and restore_current_blog()
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 20 20:55:36 UTC 2012
#21459: Cleanup switch_to_blog() and restore_current_blog()
-------------------------+-----------------------
Reporter: ryan | Owner: ryan
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.5
Component: Multisite | Version: 3.4.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------
Comment (by nacin):
Thinking we drop $_wp_switched and have is_ms_switched() just check
$wp_switched_stack.
I'm still waffling on whether to bring back $switched for compatibility
with plugins checking for it.
Also thinking ms_is_switched() rather than is_ms_switched(). I think it
works better as a prefix, rather than "is the multisite switched".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21459#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list