Disable Upgrade Message
-
Can someone tell me why this isn’t working in version 3.3.1 and 3.3.2 when adding it to the functions.php file?
// Disable upgrade message 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;" ) ); } // End disable upgrade message
[ Please do not bump, that’s not permitted here. ]
- The topic ‘Disable Upgrade Message’ is closed to new replies.