Changeset 47853 for trunk/src/wp-admin/network/site-new.php
- Timestamp:
- 05/24/2020 09:14:21 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-new.php
r47606 r47853 34 34 ); 35 35 36 if ( isset( $_REQUEST['action'] ) && 'add-site' == $_REQUEST['action'] ) {36 if ( isset( $_REQUEST['action'] ) && 'add-site' === $_REQUEST['action'] ) { 37 37 check_admin_referer( 'add-blog', '_wpnonce_add-blog' ); 38 38 … … 140 140 $id = wpmu_create_blog( $newdomain, $path, $title, $user_id, $meta, get_current_network_id() ); 141 141 $wpdb->show_errors(); 142 142 143 if ( ! is_wp_error( $id ) ) { 143 144 if ( ! is_super_admin( $user_id ) && ! get_user_option( 'primary_blog', $user_id ) ) { … … 188 189 if ( isset( $_GET['update'] ) ) { 189 190 $messages = array(); 190 if ( 'added' == $_GET['update'] ) {191 if ( 'added' === $_GET['update'] ) { 191 192 $messages[] = sprintf( 192 193 /* translators: 1: Dashboard URL, 2: Network admin edit URL. */
Note: See TracChangeset
for help on using the changeset viewer.