Wordpress, Disable the “please upgrade now” message


/ Published in: PHP
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. if ( !current_user_can( 'edit_users' ) ) {
  2. add_action( 'init', create_function( '$a', "remove_action( 'init', 'wp_version_check' );" ), 2 );
  3. add_filter( 'pre_option_update_core', create_function( '$a', "return null;" ) );
  4. }

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.