mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-03 16:50:13 +00:00
Coding Standards: Fix WPCS violations after [45708].
See #45747. git-svn-id: https://develop.svn.wordpress.org/trunk@45709 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -212,7 +212,12 @@ if ( is_multisite() ) :
|
||||
'user_login' => $spam_username,
|
||||
)
|
||||
);
|
||||
wp_update_user( array( 'ID' => $spam_user_id, 'spam' => '1' ) );
|
||||
wp_update_user(
|
||||
array(
|
||||
'ID' => $spam_user_id,
|
||||
'spam' => '1',
|
||||
)
|
||||
);
|
||||
|
||||
$this->assertTrue( is_user_spammy( $spam_username ) );
|
||||
$this->assertFalse( is_user_spammy( 'testuser1' ) );
|
||||
|
||||
Reference in New Issue
Block a user