Changeset 47115 for trunk/src/wp-admin/network/admin.php
- Timestamp:
- 01/27/2020 02:28:12 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/admin.php
r38657 r47115 18 18 } 19 19 20 $redirect_network_admin_request = 0 !== strcasecmp( $current_blog->domain, $current_site->domain ) || 0 !== strcasecmp( $current_blog->path, $current_site->path);20 $redirect_network_admin_request = ( 0 !== strcasecmp( $current_blog->domain, $current_site->domain ) || 0 !== strcasecmp( $current_blog->path, $current_site->path ) ); 21 21 22 22 /** … … 28 28 */ 29 29 $redirect_network_admin_request = apply_filters( 'redirect_network_admin_request', $redirect_network_admin_request ); 30 30 31 if ( $redirect_network_admin_request ) { 31 32 wp_redirect( network_admin_url() ); 32 33 exit; 33 34 } 35 34 36 unset( $redirect_network_admin_request );
Note: See TracChangeset
for help on using the changeset viewer.