Multisite: Add `$context` parameter to `switch_blog` action.
The action is fired by both `switch_to_blog()` and `restore_current_blog()`, and previously it was difficult for callback functions to determine which function had fired it. Props SergeyBiryukov, johnbillion, jeremyfelt. Fixes #49265. Built from https://develop.svn.wordpress.org/trunk@47105 git-svn-id: https://core.svn.wordpress.org/trunk@46905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Loading
Please register or sign in to comment