blog_id set on single site installation
-
Hi,
I have recently encountered an issue with a piece of code:if ( isset( $post->blog_id ) ) { switch_to_blog( $post->blog_id ); }
It throws an error. While tracking it I found in the top ten plugin:
$blog_id = get_current_blog_id();
I think it is where the issue might be. Can you please check if the blog_id has to be set? It is breaking the relevanssi plugin at the moment.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘blog_id set on single site installation’ is closed to new replies.