Changeset 16986 for trunk/wp-admin/network/site-new.php
- Timestamp:
- 12/16/2010 07:41:38 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network/site-new.php
r16981 r16986 14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 if ( ! current_user_can( 'manage_sites') )17 wp_die( __('You do not have sufficient permissions to add sites to this network.'));16 if ( ! current_user_can( 'manage_sites' ) ) 17 wp_die( __( 'You do not have sufficient permissions to add sites to this network.' ) ); 18 18 19 19 add_contextual_help($current_screen, … … 31 31 wp_die( __( 'You do not have permission to access this page.' ) ); 32 32 33 if ( is_array( $_POST['blog'] ) == false)33 if ( ! is_array( $_POST['blog'] ) ) 34 34 wp_die( __( 'Can’t create an empty site.' ) ); 35 35 $blog = $_POST['blog'];
Note: See TracChangeset
for help on using the changeset viewer.