git-svn-id: http://svn.automattic.com/wordpress/trunk@13709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a51777ea84
commit
1aa48c2677
|
@ -109,6 +109,8 @@ if ( 'update' == $action ) {
|
||||||
|
|
||||||
if ( 'options' == $option_page )
|
if ( 'options' == $option_page )
|
||||||
$options = explode(',', stripslashes( $_POST[ 'page_options' ] ));
|
$options = explode(',', stripslashes( $_POST[ 'page_options' ] ));
|
||||||
|
if( is_multisite() && !is_super_admin() )
|
||||||
|
wp_die( __( 'Not allowed here' ) );
|
||||||
else
|
else
|
||||||
$options = $whitelist_options[ $option_page ];
|
$options = $whitelist_options[ $option_page ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue