mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Fix incorrect variable name introduced in [35197].
See #30017, #33968. git-svn-id: https://develop.svn.wordpress.org/trunk@35206 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1152,10 +1152,10 @@ class Tests_User_Query extends WP_UnitTestCase {
|
||||
$this->markTestSkipped( __METHOD__ . ' requires multisite.' );
|
||||
}
|
||||
|
||||
$sites = $this->factory->blog->create_many( 2 );
|
||||
$sites = self::$static_factory->blog->create_many( 2 );
|
||||
|
||||
add_user_to_blog( self::$author_ids[0], self::$author_ids[0], 'author' );
|
||||
add_user_to_blog( self::$author_ids[1], self::$author_ids[1], 'author' );
|
||||
add_user_to_blog( $sites[0], self::$author_ids[0], 'author' );
|
||||
add_user_to_blog( $sites[1], self::$author_ids[1], 'author' );
|
||||
|
||||
$found = get_users( array(
|
||||
'blog_id' => $sites[1],
|
||||
|
||||
Reference in New Issue
Block a user