Changeset 12423
- Timestamp:
- 08/05/2019 05:45:34 AM (6 years ago)
- Location:
- trunk/tests/phpunit/testcases
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/blogs/functions.php
r12422 r12423 292 292 } 293 293 294 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) {294 if ( is_multisite() && function_exists( 'wp_get_registered_image_subsizes' ) ) { 295 295 $this->setExpectedDeprecated( 'update_user_status' ); 296 296 } -
trunk/tests/phpunit/testcases/core/class-bp-user-query.php
r12422 r12423 390 390 */ 391 391 public function test_bp_user_query_type_alphabetical_spam_xprofileoff() { 392 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) {392 if ( is_multisite() && function_exists( 'wp_get_registered_image_subsizes' ) ) { 393 393 $this->setExpectedDeprecated( 'update_user_status' ); 394 394 } -
trunk/tests/phpunit/testcases/members/functions.php
r12422 r12423 379 379 } 380 380 381 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) {381 if ( is_multisite() && function_exists( 'wp_get_registered_image_subsizes' ) ) { 382 382 $this->setExpectedDeprecated( 'update_user_status' ); 383 383 } … … 411 411 } 412 412 413 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) {413 if ( is_multisite() && function_exists( 'wp_get_registered_image_subsizes' ) ) { 414 414 $this->setExpectedDeprecated( 'update_user_status' ); 415 415 } … … 439 439 */ 440 440 public function test_bp_core_process_spammer_status_make_spam_user_filter() { 441 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) {441 if ( is_multisite() && function_exists( 'wp_get_registered_image_subsizes' ) ) { 442 442 $this->setExpectedDeprecated( 'update_user_status' ); 443 443 } … … 455 455 456 456 public function test_bp_core_process_spammer_status_make_ham_user_filter() { 457 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) {457 if ( is_multisite() && function_exists( 'wp_get_registered_image_subsizes' ) ) { 458 458 $this->setExpectedDeprecated( 'update_user_status' ); 459 459 } … … 471 471 472 472 public function test_bp_core_process_spammer_status_bp_make_spam_user_filter() { 473 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) {473 if ( is_multisite() && function_exists( 'wp_get_registered_image_subsizes' ) ) { 474 474 $this->setExpectedDeprecated( 'update_user_status' ); 475 475 } … … 487 487 488 488 public function test_bp_core_process_spammer_status_bp_make_ham_user_filter() { 489 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) {489 if ( is_multisite() && function_exists( 'wp_get_registered_image_subsizes' ) ) { 490 490 $this->setExpectedDeprecated( 'update_user_status' ); 491 491 }
Note: See TracChangeset
for help on using the changeset viewer.