mirror of
git://develop.git.wordpress.org/
synced 2025-03-17 18:39:51 +01:00
The global `$current_blog` is not switched in `switch_to_blog()` and can not be used to properly retrieve current switched site information. Merge of [38217] to the 4.6 branch. Props ocean90 for review. Fixes #37607. git-svn-id: https://develop.svn.wordpress.org/branches/4.6@38231 602fd350-edb4-49c9-b593-d223f7449a82