Skip to content

Commit 0c41ec2

Browse files
authored
Update doc for user spam and unspam command (#483)
1 parent cdaca28 commit 0c41ec2

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6248,7 +6248,7 @@ wp user set-role <user> [<role>]
62486248

62496249
### wp user spam
62506250

6251-
Marks one or more users as spam.
6251+
Marks one or more users as spam on multisite.
62526252

62536253
~~~
62546254
wp user spam <id>...
@@ -6261,6 +6261,7 @@ wp user spam <id>...
62616261

62626262
**EXAMPLES**
62636263

6264+
# Mark user as spam.
62646265
$ wp user spam 123
62656266
User 123 marked as spam.
62666267
Success: Spammed 1 of 1 users.
@@ -6432,7 +6433,7 @@ Replaces existing terms on the object.
64326433

64336434
### wp user unspam
64346435

6435-
Removes one or more users from spam.
6436+
Removes one or more users from spam on multisite.
64366437

64376438
~~~
64386439
wp user unspam <id>...
@@ -6445,6 +6446,7 @@ wp user unspam <id>...
64456446

64466447
**EXAMPLES**
64476448

6449+
# Remove user from spam.
64486450
$ wp user unspam 123
64496451
User 123 removed from spam.
64506452
Success: Unspamed 1 of 1 users.

src/User_Command.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@ public static function wp_new_user_notification( $user_id, $password ) {
12821282
}
12831283

12841284
/**
1285-
* Marks one or more users as spam.
1285+
* Marks one or more users as spam on multisite.
12861286
*
12871287
* ## OPTIONS
12881288
*
@@ -1291,6 +1291,7 @@ public static function wp_new_user_notification( $user_id, $password ) {
12911291
*
12921292
* ## EXAMPLES
12931293
*
1294+
* # Mark user as spam.
12941295
* $ wp user spam 123
12951296
* User 123 marked as spam.
12961297
* Success: Spammed 1 of 1 users.
@@ -1300,7 +1301,7 @@ public function spam( $args ) {
13001301
}
13011302

13021303
/**
1303-
* Removes one or more users from spam.
1304+
* Removes one or more users from spam on multisite.
13041305
*
13051306
* ## OPTIONS
13061307
*
@@ -1309,6 +1310,7 @@ public function spam( $args ) {
13091310
*
13101311
* ## EXAMPLES
13111312
*
1313+
* # Remove user from spam.
13121314
* $ wp user unspam 123
13131315
* User 123 removed from spam.
13141316
* Success: Unspamed 1 of 1 users.

0 commit comments

Comments
 (0)