Changeset 47012 for trunk/tests/phpunit/tests/multisite/network.php
- Timestamp:
- 12/25/2019 06:15:13 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/network.php
r46586 r47012 64 64 65 65 foreach ( self::$different_site_ids as $id ) { 66 wp mu_delete_blog( $id, true);66 wp_delete_site( $id ); 67 67 } 68 68 … … 156 156 157 157 foreach ( $site_ids as $site_id ) { 158 wp mu_delete_blog( $site_id, true);158 wp_delete_site( $site_id ); 159 159 } 160 160 wp_update_network_counts(); … … 176 176 177 177 foreach ( $site_ids as $site_id ) { 178 wp mu_delete_blog( $site_id, true);178 wp_delete_site( $site_id ); 179 179 } 180 180 wp_update_network_counts(); … … 196 196 197 197 foreach ( $site_ids as $site_id ) { 198 wp mu_delete_blog( $site_id, true);198 wp_delete_site( $site_id ); 199 199 } 200 200 wp_update_network_counts(); … … 591 591 $original_count = get_blog_count( self::$different_network_id ); 592 592 593 $site_id = self::factory()->blog->create( 594 array( 595 'domain' => 'example.org', 596 'path' => '/', 597 'site_id' => self::$different_network_id, 598 ) 599 ); 593 $site_id = wpmu_create_blog( 'example.org', '/', '', 1, array(), self::$different_network_id ); 600 594 601 595 $result = get_blog_count( self::$different_network_id );
Note: See TracChangeset
for help on using the changeset viewer.