[buddypress-trac] [BuddyPress Trac] #6240: restore_current_blog() being called when not needed, causing issues with some plugins

buddypress-trac noreply at wordpress.org
Fri Feb 20 18:44:12 UTC 2015


#6240: restore_current_blog() being called when not needed, causing issues with
some plugins
--------------------------+--------------------
 Reporter:  sj-xweb       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.2.2
Component:  API           |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 2.2.2


Comment:

 Like johnjamesjacoby, I'm a bit dubious of plugins that are doing funky
 things with `switch_to_blog()` and especially the `_wp_switched_stack` etc
 globals directly. That said, it's harmless to add the checks - they were
 only excluded initially for the sake of brevity.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6240#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list