WordPress.org

Ready to get started?Download WordPress

Forums

Manual Control for Jetpack
Turn off "X New Jetpack Modules" notifications? (5 posts)

  1. John Sundberg
    Member
    Posted 1 year ago #

    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/

  2. elkrafto
    Member
    Posted 1 year ago #

    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.

  3. Manuel Schmalstieg
    Member
    Posted 1 year ago #

    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');
  4. brasofilo
    Member
    Posted 12 months ago #

    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 ;)

  5. brasofilo
    Member
    Posted 12 months ago #

    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>';
    });

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.