Home Forums Bug Reports Multi-Sites switch_to_blog bug Reply To: Multi-Sites switch_to_blog bug

  • It just doesn’t work. The data doesn’t load at all for fields created in the functions.php file after I’ve switched blogs. (Fields created in Admin interface work just fine, even after switch_to_blog).

    I had to use the old get_post_custom and get_option functions to get data to load after a switch_to_blog call, which is fine, but this is pretty unexpected behavior for the plugin that could potentially break multi-sites installations that rely on your plugin. Seems like it should work whether the field is created via PHP in the theme or through the plugin interface in the Admin.

    Thanks for the awesome plugin, and I hope this helps clarify.