• Resolved edward_plainview

    (@edward_plainview)


    You use switch_to_blog() incorrectly in your plugin. After each switch, after you are done on the blog, you must call restore_current_blog().

    Using just switch_to_blog() leaves WordPress in a switched state which is not good karma and breaks other plugins.

  • The topic ‘switch_to_blog -> restore_current_blog()’ is closed to new replies.