Changeset 12606 for trunk/tests/phpunit/testcases/blogs/activity.php
- Timestamp:
- 03/31/2020 02:45:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/blogs/activity.php
r12395 r12606 34 34 } 35 35 36 if ( function_exists( 'wp_initialize_site' ) ) {37 $this->setExpectedDeprecated( 'wpmu_new_blog' );38 }39 40 36 $b = self::factory()->blog->create(); 41 37 $u = self::factory()->user->create(); … … 131 127 } 132 128 133 if ( function_exists( 'wp_initialize_site' ) ) {134 $this->setExpectedDeprecated( 'wpmu_new_blog' );135 }136 137 129 $b = self::factory()->blog->create(); 138 130 $u = self::factory()->user->create(); … … 176 168 } 177 169 178 if ( function_exists( 'wp_initialize_site' ) ) {179 $this->setExpectedDeprecated( 'wpmu_new_blog' );180 }181 182 170 $b = self::factory()->blog->create(); 183 171 $u = self::factory()->user->create(); … … 223 211 } 224 212 225 if ( function_exists( 'wp_initialize_site' ) ) {226 $this->setExpectedDeprecated( 'wpmu_new_blog' );227 }228 229 213 add_filter( 'bp_blogs_activity_created_blog_action', array( $this, 'created_blog_passthrough' ), 10, 2 ); 230 214 … … 255 239 } 256 240 257 if ( function_exists( 'wp_initialize_site' ) ) {258 $this->setExpectedDeprecated( 'wpmu_new_blog' );259 }260 261 241 add_filter( 'bp_blogs_activity_new_post_action', array( $this, 'new_post_passthrough' ), 10, 2 ); 262 242 … … 287 267 } 288 268 289 if ( function_exists( 'wp_initialize_site' ) ) {290 $this->setExpectedDeprecated( 'wpmu_new_blog' );291 }292 293 269 add_filter( 'bp_blogs_activity_new_comment_action', array( $this, 'new_comment_passthrough' ), 10, 2 ); 294 270 … … 322 298 if ( ! is_multisite() ) { 323 299 $this->markTestSkipped(); 324 }325 326 if ( function_exists( 'wp_initialize_site' ) ) {327 $this->setExpectedDeprecated( 'wpmu_new_blog' );328 300 } 329 301
Note: See TracChangeset
for help on using the changeset viewer.