Changeset 9282
- Timestamp:
- 12/25/2014 01:22:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase.php
r9281 r9282 65 65 global $wpdb; 66 66 67 $blogs = wp_get_sites(); 68 foreach ( $blogs as $blog ) { 69 if ( (int) $blog['blog_id'] !== 1 ) { 70 wpmu_delete_blog( $blog['blog_id'], true ); 67 if ( is_multisite() ) { 68 $blogs = wp_get_sites(); 69 foreach ( $blogs as $blog ) { 70 if ( (int) $blog['blog_id'] !== 1 ) { 71 wpmu_delete_blog( $blog['blog_id'], true ); 72 } 71 73 } 72 74 }
Note: See TracChangeset
for help on using the changeset viewer.