Skip to content

Commit 2a1faf7

Browse files
Merge pull request #286 from CurtisBelt/master
Corrected command examples concerning the "Hello Dolly" plugin
2 parents d3231a2 + d2522d8 commit 2a1faf7

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

commands/plugin/activate/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ display_global_parameters: true
2626
### EXAMPLES
2727

2828
# Activate plugin
29-
$ wp plugin activate hello-dolly
30-
Plugin 'hello-dolly' activated.
29+
$ wp plugin activate hello
30+
Plugin 'hello' activated.
3131
Success: Activated 1 of 1 plugins.
3232

3333
# Activate plugin in entire multisite network
34-
$ wp plugin activate hello-dolly --network
35-
Plugin 'hello-dolly' network activated.
34+
$ wp plugin activate hello --network
35+
Plugin 'hello' network activated.
3636
Success: Network activated 1 of 1 plugins.
3737

3838

commands/plugin/deactivate/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ display_global_parameters: true
2929
### EXAMPLES
3030

3131
# Deactivate plugin
32-
$ wp plugin deactivate hello-dolly
33-
Plugin 'hello-dolly' deactivated.
32+
$ wp plugin deactivate hello
33+
Plugin 'hello' deactivated.
3434
Success: Deactivated 1 of 1 plugins.
3535

3636

commands/plugin/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ display_global_parameters: true
1515
### EXAMPLES
1616

1717
# Activate plugin
18-
$ wp plugin activate hello-dolly
19-
Plugin 'hello-dolly' activated.
18+
$ wp plugin activate hello
19+
Plugin 'hello' activated.
2020
Success: Activated 1 of 1 plugins.
2121

2222
# Deactivate plugin
23-
$ wp plugin deactivate hello-dolly
24-
Plugin 'hello-dolly' deactivated.
23+
$ wp plugin deactivate hello
24+
Plugin 'hello' deactivated.
2525
Success: Deactivated 1 of 1 plugins.
2626

2727
# Delete plugin
28-
$ wp plugin delete hello-dolly
29-
Deleted 'hello-dolly' plugin.
28+
$ wp plugin delete hello
29+
Deleted 'hello' plugin.
3030
Success: Deleted 1 of 1 plugins.
3131

3232
# Install the latest version from wordpress.org and activate

commands/plugin/is-installed/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Returns exit code 0 when installed, 1 when uninstalled.
2222
### EXAMPLES
2323

2424
# Check whether plugin is installed; exit status 0 if installed, otherwise 1
25-
$ wp plugin is-installed hello-dolly
25+
$ wp plugin is-installed hello
2626
$ echo $?
2727
1
2828

commands/theme/is-installed/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Returns exit code 0 when installed, 1 when uninstalled.
2222
### EXAMPLES
2323

2424
# Check whether theme is installed; exit status 0 if installed, otherwise 1
25-
$ wp theme is-installed hello-dolly
25+
$ wp theme is-installed hello
2626
$ echo $?
2727
1
2828

0 commit comments

Comments
 (0)