WP-Simplify - Clean up the Control Panel
Getting Rid of PHP Notice (1 post)

  1. sparkweb
    Posted 4 years ago #

    When in debugging mode, I'm getting this error/notice:

    Notice: Undefined index: wp_simplify_nonce in /var/www/wp-content/plugins/wp-simplify/wp-simplify.php on line 81

    I've fixed this in my local version of the plugin, but could this be updated in the next release:

    starting at line 81:

    if (isset($_REQUEST['wp_simplify_nonce'])) {
    		 	if(wp_verify_nonce($_REQUEST['wp_simplify_nonce'], "wp_simplify_update")) {
    				update_option('wp_simplify', $_REQUEST[wp_simplify]);

    Just wrap the wp_verify_nonce in an isset if statement. Does the trick!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Simplify - Clean up the Control Panel
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic