Changeset 12606 for trunk/tests/phpunit/testcases/activity/functions.php
- Timestamp:
- 03/31/2020 02:45:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/activity/functions.php
r12605 r12606 856 856 } 857 857 858 if ( function_exists( 'wp_initialize_site' ) ) {859 $this->setExpectedDeprecated( 'wpmu_new_blog' );860 }861 862 858 $b = self::factory()->blog->create(); 863 859 $u = self::factory()->user->create(); … … 972 968 } 973 969 974 if ( function_exists( 'wp_initialize_site' ) ) {975 $this->setExpectedDeprecated( 'wpmu_new_blog' );976 }977 978 970 $b = self::factory()->blog->create(); 979 971 $u = self::factory()->user->create(); … … 1107 1099 public function test_bp_activity_format_activity_action_custom_post_type_comment() { 1108 1100 if ( is_multisite() ) { 1109 if ( function_exists( 'wp_initialize_site' ) ) {1110 $this->setExpectedDeprecated( 'wpmu_new_blog' );1111 }1112 1113 1101 $b = self::factory()->blog->create(); 1114 1102 switch_to_blog( $b );
Note: See TracChangeset
for help on using the changeset viewer.