Minor cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@16986 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e3982c68d8
commit
e01d886bfe
@ -30,7 +30,7 @@ if ( isset($_REQUEST['action']) && 'add-site' == $_REQUEST['action'] ) {
|
|||||||
if ( ! current_user_can( 'manage_sites' ) )
|
if ( ! current_user_can( 'manage_sites' ) )
|
||||||
wp_die( __( 'You do not have permission to access this page.' ) );
|
wp_die( __( 'You do not have permission to access this page.' ) );
|
||||||
|
|
||||||
if ( is_array( $_POST['blog'] ) == false )
|
if ( ! is_array( $_POST['blog'] ) )
|
||||||
wp_die( __( 'Can’t create an empty site.' ) );
|
wp_die( __( 'Can’t create an empty site.' ) );
|
||||||
$blog = $_POST['blog'];
|
$blog = $_POST['blog'];
|
||||||
$domain = '';
|
$domain = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user