Skip to content

Commit 0337a1e

Browse files
authored
Merge pull request #6 from wp-cli/replace-hello-dolly
Correct command examples referencing Hello Dolly
2 parents 3fd6060 + aeb4db0 commit 0337a1e

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/Plugin_Command.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
* ## EXAMPLES
99
*
1010
* # Activate plugin
11-
* $ wp plugin activate hello-dolly
12-
* Plugin 'hello-dolly' activated.
11+
* $ wp plugin activate hello
12+
* Plugin 'hello' activated.
1313
* Success: Activated 1 of 1 plugins.
1414
*
1515
* # Deactivate plugin
16-
* $ wp plugin deactivate hello-dolly
17-
* Plugin 'hello-dolly' deactivated.
16+
* $ wp plugin deactivate hello
17+
* Plugin 'hello' deactivated.
1818
* Success: Deactivated 1 of 1 plugins.
1919
*
2020
* # Delete plugin
21-
* $ wp plugin delete hello-dolly
22-
* Deleted 'hello-dolly' plugin.
21+
* $ wp plugin delete hello
22+
* Deleted 'hello' plugin.
2323
* Success: Deleted 1 of 1 plugins.
2424
*
2525
* # Install the latest version from wordpress.org and activate
@@ -236,13 +236,13 @@ protected function get_all_items() {
236236
* ## EXAMPLES
237237
*
238238
* # Activate plugin
239-
* $ wp plugin activate hello-dolly
240-
* Plugin 'hello-dolly' activated.
239+
* $ wp plugin activate hello
240+
* Plugin 'hello' activated.
241241
* Success: Activated 1 of 1 plugins.
242242
*
243243
* # Activate plugin in entire multisite network
244-
* $ wp plugin activate hello-dolly --network
245-
* Plugin 'hello-dolly' network activated.
244+
* $ wp plugin activate hello --network
245+
* Plugin 'hello' network activated.
246246
* Success: Network activated 1 of 1 plugins.
247247
*/
248248
public function activate( $args, $assoc_args = array() ) {
@@ -314,8 +314,8 @@ public function activate( $args, $assoc_args = array() ) {
314314
* ## EXAMPLES
315315
*
316316
* # Deactivate plugin
317-
* $ wp plugin deactivate hello-dolly
318-
* Plugin 'hello-dolly' deactivated.
317+
* $ wp plugin deactivate hello
318+
* Plugin 'hello' deactivated.
319319
* Success: Deactivated 1 of 1 plugins.
320320
*/
321321
public function deactivate( $args, $assoc_args = array() ) {
@@ -801,7 +801,7 @@ public function uninstall( $args, $assoc_args = array() ) {
801801
* ## EXAMPLES
802802
*
803803
* # Check whether plugin is installed; exit status 0 if installed, otherwise 1
804-
* $ wp plugin is-installed hello-dolly
804+
* $ wp plugin is-installed hello
805805
* $ echo $?
806806
* 1
807807
*

src/Theme_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ public function update( $args, $assoc_args ) {
655655
* ## EXAMPLES
656656
*
657657
* # Check whether theme is installed; exit status 0 if installed, otherwise 1
658-
* $ wp theme is-installed hello-dolly
658+
* $ wp theme is-installed hello
659659
* $ echo $?
660660
* 1
661661
*

0 commit comments

Comments
 (0)