Minor cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a60664a37b
commit
31b4959b1b
|
@ -30,7 +30,7 @@ if ( isset($_REQUEST['action']) && 'add-site' == $_REQUEST['action'] ) {
|
|||
if ( ! current_user_can( 'manage_sites' ) )
|
||||
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.' ) );
|
||||
$blog = $_POST['blog'];
|
||||
$domain = '';
|
||||
|
|
Loading…
Reference in New Issue