Changeset 12422 for trunk/tests/phpunit/testcases/members/functions.php
- Timestamp:
- 08/05/2019 05:20:48 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/members/functions.php
r12246 r12422 379 379 } 380 380 381 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 382 $this->setExpectedDeprecated( 'update_user_status' ); 383 } 384 381 385 $bp = buddypress(); 382 386 $displayed_user = $bp->displayed_user; … … 407 411 } 408 412 413 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 414 $this->setExpectedDeprecated( 'update_user_status' ); 415 } 416 409 417 $bp = buddypress(); 410 418 $displayed_user = $bp->displayed_user; … … 431 439 */ 432 440 public function test_bp_core_process_spammer_status_make_spam_user_filter() { 441 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 442 $this->setExpectedDeprecated( 'update_user_status' ); 443 } 444 433 445 add_filter( 'make_spam_user', array( $this, 'notification_filter_callback' ) ); 434 446 … … 443 455 444 456 public function test_bp_core_process_spammer_status_make_ham_user_filter() { 457 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 458 $this->setExpectedDeprecated( 'update_user_status' ); 459 } 460 445 461 add_filter( 'make_ham_user', array( $this, 'notification_filter_callback' ) ); 446 462 … … 455 471 456 472 public function test_bp_core_process_spammer_status_bp_make_spam_user_filter() { 473 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 474 $this->setExpectedDeprecated( 'update_user_status' ); 475 } 476 457 477 add_filter( 'bp_make_spam_user', array( $this, 'notification_filter_callback' ) ); 458 478 … … 467 487 468 488 public function test_bp_core_process_spammer_status_bp_make_ham_user_filter() { 489 if ( function_exists( 'wp_get_registered_image_subsizes' ) ) { 490 $this->setExpectedDeprecated( 'update_user_status' ); 491 } 492 469 493 add_filter( 'bp_make_ham_user', array( $this, 'notification_filter_callback' ) ); 470 494
Note: See TracChangeset
for help on using the changeset viewer.