git-svn-id: https://develop.svn.wordpress.org/trunk@13709 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
14ebed05f1
commit
feb6eacff1
@ -109,6 +109,8 @@ if ( 'update' == $action ) {
|
||||
|
||||
if ( 'options' == $option_page )
|
||||
$options = explode(',', stripslashes( $_POST[ 'page_options' ] ));
|
||||
if( is_multisite() && !is_super_admin() )
|
||||
wp_die( __( 'Not allowed here' ) );
|
||||
else
|
||||
$options = $whitelist_options[ $option_page ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user