WordPress.org

Make WordPress Core

Changeset 13711


Ignore:
Timestamp:
03/15/2010 10:00:48 PM (10 years ago)
Author:
wpmuguru
Message:

more descriptive message on blocking unregistered setting, see #11644, related #11730

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options.php

    r13709 r13711  
    111111        $options = explode(',', stripslashes( $_POST[ 'page_options' ] ));
    112112        if( is_multisite() && !is_super_admin() )
    113             wp_die( __( 'Not allowed here' ) );
     113            wp_die( __( 'You do not have sufficient permissions to modify unregistered settings for this site.' ) );
    114114    else
    115115        $options = $whitelist_options[ $option_page ];
Note: See TracChangeset for help on using the changeset viewer.