Quantcast
Channel: :: TechBlog :: » Open Source
Viewing all articles
Browse latest Browse all 7

WordPress Plugin – Notify Admin Only of WP Updates

$
0
0

Update: This plugin is tested and known to be working with WP 2.9.1

ok, with the release of WordPress 2.8.3 – if finally got around to upgrading my Notify Admin Only plugin to work with WP 2.8+

Download Plugin: Notify Admin Only v2.0

in case you’re not sure what this plugin actually does, well, it removes this text from the backend that says: “A new version of WordPress is available! Please notify the site administrator” – (see the images below).

great for admins who don’t want their many users to ever see the WordPress Update nag.

wp notifying the admin

anyway the new code is really simple: (thanks Lazzymonk)


< ?php
function stop_wpupdate() {
if ( current_user_can('manage_options') ) {
return;
} else {
remove_action( 'admin_notices', 'update_nag', 3 );
}
}
add_action( 'admin_notices', 'stop_wpupdate', 1 );
?>

the old plugin is here and only works for WP 2.3 – 2.5 series.


Viewing all articles
Browse latest Browse all 7

Trending Articles