Changeset 13140 for trunk/tests/phpunit/includes/testcase.php
- Timestamp:
- 11/07/2021 05:22:42 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase.php
r13108 r13140 86 86 if ( is_multisite() ) { 87 87 foreach ( $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs WHERE blog_id != 1" ) as $blog_id ) { 88 if ( function_exists( 'wp_uninitialize_site' ) ) { 89 wp_uninitialize_site( $blog_id ); 90 } else { 91 wpmu_delete_blog( $blog_id, true ); 92 } 88 wp_uninitialize_site( $blog_id ); 93 89 } 94 90 }
Note: See TracChangeset
for help on using the changeset viewer.