Changeset 38814 for trunk/src/wp-admin/includes/ms.php
- Timestamp:
- 10/19/2016 04:46:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ms.php
r38334 r38814 89 89 update_blog_status( $blog_id, 'deleted', 1 ); 90 90 91 $current_ site = get_current_site();91 $current_network = get_network(); 92 92 93 93 // If a full blog object is not available, do not destroy anything. … … 97 97 98 98 // Don't destroy the initial, main, or root blog. 99 if ( $drop && ( 1 == $blog_id || is_main_site( $blog_id ) || ( $blog->path == $current_ site->path && $blog->domain == $current_site->domain ) ) ) {99 if ( $drop && ( 1 == $blog_id || is_main_site( $blog_id ) || ( $blog->path == $current_network->path && $blog->domain == $current_network->domain ) ) ) { 100 100 $drop = false; 101 101 }
Note: See TracChangeset
for help on using the changeset viewer.