I have a strange problem. I’ve installed Recent global posts widget (and post indexer) and added the widget to my mainsite. The content and title is displayed correctly, but the permalink behind the title refers to [main-site-url]/slug not [sub-site-url]/slug resulting in a 404.
I’ve checked the source code and found out that the network_get_permalink(); function returns the wrong url. Even if i edit the code and replace it with:
network_get_permalink( $post->BLOG_ID );
network_get_permalink( $post->BLOG_ID, $post->ID );
Thanks in advance!