Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/24/2019 02:53:10 PM (5 years ago)
Author:
imath
Message:

Anticipate the deprecation in WordPress 5.3 of update_user_status()

Introduce bp_core_update_member_status() in order to wrap wp_update_user() with needed argument to spam a user on multisite configurations.

Props espellcaste

Fixes #8123

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/core/class-bp-user-query.php

    r12423 r12450  
    390390     */
    391391    public function test_bp_user_query_type_alphabetical_spam_xprofileoff() {
    392         if ( is_multisite() && function_exists( 'wp_get_registered_image_subsizes' ) ) {
    393             $this->setExpectedDeprecated( 'update_user_status' );
    394         }
    395 
    396392        $u1 = self::factory()->user->create();
    397393        $u2 = self::factory()->user->create();
Note: See TracChangeset for help on using the changeset viewer.