• This plugin breaks the functionability with Yoast SEO.
    After activate when i edit yoast info in a entry dont save changes.
    I desactive this plugin and Yoast work again.

    • This topic was modified 7 years, 5 months ago by slanda.
Viewing 2 replies - 1 through 2 (of 2 total)
  • This problem seems to be because this is pattern is used in intuitive-custom-post-order.php:

    
    $current = $blog_id;
    switch_to_blog(1);
    $hicpo_network_sites = get_option( 'hicpo_network_sites' );
    switch_to_blog($current);
    

    Instead of using restore_current_blog() like this:

    
    $current = $blog_id;
    switch_to_blog(1);
    $hicpo_network_sites = get_option( 'hicpo_network_sites' );
    restore_current_blog();
    

    Or simply:

    $hicpo_network_sites = get_blog_option( 1, 'hicpo_network_sites' );

    Using “switch_to_blog” twice instead of once with “restore_current_blog” adds to the blog switch stack instead of popping the switched blog off of the stack so when Yoast thinks that the application is in the middle of a blog switch and it bails.

    Great fix!
    Hopefully @hijir can incorporate it in a next release.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with YOAST SEO?’ is closed to new replies.