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/blogs/functions.php

    r12423 r12450  
    290290        if ( function_exists( 'wp_initialize_site' ) ) {
    291291            $this->setExpectedDeprecated( 'wpmu_new_blog' );
    292         }
    293 
    294         if ( is_multisite() && function_exists( 'wp_get_registered_image_subsizes' ) ) {
    295             $this->setExpectedDeprecated( 'update_user_status' );
    296292        }
    297293
Note: See TracChangeset for help on using the changeset viewer.