WordPress.org

Support

Support » Plugins and Hacks » Turn off "X New Jetpack Modules" notifications?

Turn off "X New Jetpack Modules" notifications?

  • John Sundberg
    Participant

    @bhwebworks

    I just started using Manual Control, and I really appreciate this plugin.

    In the latest update to Jetpack 2.0.2 there is now a notice in the admin menu (circle with number 4 in it) letting me know that there are new modules. Since they were not activated due to Manual Control, do you think this notification will go away eventually?

    If I remember right in the past it went away after I clicked the “Learn More” button in new modules and either deactivated or configured them. I can get used to the notification, but I could see a client wondering why it’s there and why I don’t do something about it.

    http://wordpress.org/extend/plugins/manual-control/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I also find this annoying, but have not been able to figure out how to stop it. They don’t go away eventually, at least not in my case.

    Same here. My current solution is to simply hide them with some admin-side CSS:

    .toplevel_page_jetpack .update-plugins {
        display: none;
    }

    This does the trick for me 🙂

    For the record, my custom admin.css styles get loaded this way, from functions.php

    function custom_admin_head() {
            echo '<link rel="stylesheet" type="text/css" href="' .get_bloginfo('template_directory').'/admin/admin.css">';
    }
    add_action('admin_head', 'custom_admin_head');
    brasofilo
    Member

    @brasofilo

    I discovered this issue with Omnisearch. And the left over notification bubble is really annoying.

    I found that modifying First Introduced value in the header of the module, the bubble goes away. I changed from 2.3 to 2.2.

    Looking for another fix, though 😉

    brasofilo
    Member

    @brasofilo

    Amazing!
    MCJ is just a handful of lines of code, and I can’t understand how the heck it blocks the auto-activation of new modules.

    I dug into Jetpack’s code and looks like there’s no point of entry to modify the 'introduced' value (read from the module file header) for the Available Modules.

    Guess CSS is the easiest (and maybe only) way for now. Here a shorter version from Manuel’s example:

    add_action('admin_head', 'custom_admin_head');
    function custom_admin_head() {
            echo '<style type="text/css">.toplevel_page_jetpack .update-plugins {display: none;}</style>';
    }

    Even shorter for PHP 5.3

    add_action('admin_head', function () {
    	echo '<style type="text/css">.toplevel_page_jetpack .update-plugins {display: none;}</style>';
    });
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Turn off "X New Jetpack Modules" notifications?’ is closed to new replies.