Viewing 11 replies - 1 through 11 (of 11 total)
  • I know it’s not funny, but I can’t help but laugh at that one.

    I would love an answer as well. ??

    Oh yes please. It even overrides the WP upgrade screen.

    Line 35 of admin/class-admin-init.php:
    add_action( 'admin_init', array( $this, 'redirect_to_about_page' ), 15 );

    but the object is loaded without reference, so I’m not sure how to trigger a remove_filter() from my own plugin.

    remove_action( 'admin_init', array( ___????__, 'redirect_to_about_page' ), 15 );

    A simple solution to Yoast on this one:

    Limit this feature to the first time the user visits any settings page related to your plugin after install/update. THEN redirect to this: Thank you // What’s new // Overview // what ever page. Your users are still forced to see this page before configuring plugin settings.

    That way you’re not totally hijacking WordPress; Especially after bulk updating plugins.

    I would like to know this also. It is soooo obnoxious.

    Highly annoying, yes, I keep having to patch the offending line across N different sites :/

    If not patched, anyone with ‘manage_options’ cap ends up in a redirect loop on a bunch of (but not all!) sites. Haven’t had the time to really dig into it and determine the root cause…

    +1. Please fix this. It’s really annoying on a large multisite.

    Thread Starter Joseph Dickson

    (@josephdickson)

    The question popped up on their github as well and jdevalk offered a possible solution.

    https://github.com/Yoast/wordpress-seo/pull/2235#issuecomment-95059096

    function filter_yst_wpseo_option( $option ) {
      $option['seen_about'] = true;
      return $option;
    }
    
    add_filter( 'option_wpseo', 'filter_yst_wpseo_option' );

    I’ll fire up a local installation, drop this in a new separate plugin and get back to you all.

    Thread Starter Joseph Dickson

    (@josephdickson)

    Hi everyone,
    I dropped the code into a plugin and it appears to work.
    I suggest testing on a non production host and can offer no warranty.

    seo-yaost-about-overide.zip

    I’ll continue testing over the next few days. Let me know if you try it and if you run into any issues.

    Special thanks to *Thomas Scholz (toscho)* for sending me in the right direction. https://plus.google.com/u/0/+JosephDickson/posts/eZV3PpZYvvX

    @joseph – Big thanks to you and Thomas. We will try it and share any findings.

    If every plugin I used did this, the dashboard would be a war zone.

    Dashboard spam does appear to be a sad trend among some plugin developers.

    Thread Starter Joseph Dickson

    (@josephdickson)

    @sonja
    Yep, In fact I use ACFPRO for additional features or create my own as much as possible rather than install a plugin that “might work” only for it to go stale or break a more important feature.

    https://www.advancedcustomfields.com/

    I can’t get into my back office at all – redirect loop. Tried throwing that plugin in there, but nothing (not activated?).

    Not good. Any ideas? Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Remove thank you for updating page’ is closed to new replies.