Return to Snippet

Revision: 22003
at December 28, 2009 13:37 by math89


Initial Code
if ( !current_user_can( 'edit_users' ) ) {
  add_action( 'init', create_function( '$a', "remove_action( 'init', 'wp_version_check' );" ), 2 );
  add_filter( 'pre_option_update_core', create_function( '$a', "return null;" ) );
}

Initial URL
http://www.wprecipes.com/how-to-disable-the-please-update-now-message-in-wp-dashboard

Initial Description
Remove the “Please upgrade now” message in the Wordpress Dashboard
Paste the code in your functions.php

Initial Title
Wordpress, Disable the “please upgrade now” message

Initial Tags
wordpress

Initial Language
PHP