• Can someone tell me why my WP Installations are switching to the window of Yoasts Plugin all the time whenever I update any plugin or wordpress or any theme currently? All I see after each update (any Plugin or theme, NOT updating Yoast) is the settings page of your plugin showing: Thank you for updating WordPress SEO by Yoast!

    Anyone else experincing this behavior?

    https://www.ads-software.com/plugins/wordpress-seo/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Same problem here. Every time I update another plugin I see this

    Same here. All links in my admin panel redirect to this URL:

    https://mysite.com/wp-admin/admin.php?page=wpseo_dashboard&intro=1

    It’s REALLY IRRITATING! I am managing 40+ sites and have been seeing it constantly. I just got notice of an automatic update to 4.1.4 with this message:

    For more on version 4.1.4, see the About WordPress screen:
    https://www.mydomain.com/wp-admin/about.php

    When I clicked on the link, did I learn about 4.1.4? No, I was congratulated for having updated WP SEO last week! It took several minutes to manage to get back to the screen I wanted.

    Yoast evidently thinks that WP SEO is more important than WP Core.

    I just invited Yoast to the thread.

    Looking at the code… In wordpress-seo/admin/class-admin-init.php there is an action hook:

    add_action( 'admin_init', array( $this, 'redirect_to_about_page' ), 15 );

    I’m thinking it wouldn’t be hard to unhook that… ?? Let me know if you get to it before I do.

    +1

    Why Yoast thinks it’s OK to hijack the main WP Dashboard is beyond me. Unprecedentedly obnoxious.

    +1 as this hijacks ANY action after update, even if you’re trying to access another settings page.

    I have good news and bad news. Normally it would be easy to unhook the function, but Yoast is using a method in an instantiated class. Since I’m not inside that instance, I can’t just:

    remove_action( 'admin_init', array( $this, 'redirect_to_about_page' ), 15 );

    I looked to see if there is a global variable attached to the instance, but there is not. The instance is created inside wp-seo-main.php, and the action is added as part of the instance creation:

    function wpseo_admin_init() {
    	new WPSEO_Admin_Init();
    }

    So remove_action is out. I then found remove_all_actions https://codex.www.ads-software.com/Function_Reference/remove_all_actions, which has more power. ?? You can remove all actions that are hooked at a specified priority on a specified hook. The WP SEO action is hooked at priority 15. I searched all of WordPress and the plugins I have installed and found no others at priority 15. So I tested the following code, and it works:

    add_action( 'admin_init', 'cool_down_wpseo', 14 );
    function cool_down_wpseo () {
    	remove_all_actions( 'admin_init', 15 );
    }

    But of course this is a Bad Idea, as we don’t know when someone might hook another action onto admin_init at priority 15.

    So I’m stumped. Anyone have another suggestion?

    Donna

    Thanks for the distraction guys ?? Honestly I am not a fan of this either, I wouldn’t mind if the updates weren’t so frequent.

    Let me know if there are any questions.

    https://gist.github.com/kevinpmiller/1c1fbb8b781764aa4fff

    Nice! Thanks, @kevin!

    I built a plugin with Kevin’s code. Let us know if it works for you!
    https://www.ads-software.com/plugins/wp-seo-humility/

    Good news! The new plugin is already going obsolete. Yoast just released WP SEO 2.2, which includes the following:

    Redirect to about
    Quite a few people complained about the redirect to our about page after an update. We’ve heard you and changed how it works. You’ll now get a dismissible notice with a link to the release notes, we’ll no longer redirect you.

    https://yoast.com/wordpress-seo-2-2/

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Thank you for updating WordPress SEO by Yoast? Why do I see this 10 times a day?’ is closed to new replies.