Changeset 12423 for trunk/tests/phpunit/testcases/members/functions.php
- Timestamp:
- 08/05/2019 05:45:34 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.