Skip to content

Commit ef614ce

Browse files
authored
Merge pull request #290 from johnjago/fix-auto-updates-example
Fix incorrect examples
2 parents e109fb2 + 0c70ed5 commit ef614ce

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/Plugin_AutoUpdates_Command.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
* ## EXAMPLES
1212
*
1313
* # Enable the auto-updates for a plugin
14-
* $ wp plugin auto-updates enable activate hello
14+
* $ wp plugin auto-updates enable hello
1515
* Plugin auto-updates for 'hello' enabled.
1616
* Success: Enabled 1 of 1 plugin auto-updates.
1717
*
1818
* # Disable the auto-updates for a plugin
19-
* $ wp plugin auto-updates disable activate hello
19+
* $ wp plugin auto-updates disable hello
2020
* Plugin auto-updates for 'hello' disabled.
2121
* Success: Disabled 1 of 1 plugin auto-updates.
2222
*
@@ -69,7 +69,7 @@ public function __construct() {
6969
* ## EXAMPLES
7070
*
7171
* # Enable the auto-updates for a plugin
72-
* $ wp plugin auto-updates enable activate hello
72+
* $ wp plugin auto-updates enable hello
7373
* Plugin auto-updates for 'hello' enabled.
7474
* Success: Enabled 1 of 1 plugin auto-updates.
7575
*/
@@ -146,7 +146,7 @@ public function enable( $args, $assoc_args ) {
146146
* ## EXAMPLES
147147
*
148148
* # Disable the auto-updates for a plugin
149-
* $ wp plugin auto-updates disable activate hello
149+
* $ wp plugin auto-updates disable hello
150150
* Plugin auto-updates for 'hello' disabled.
151151
* Success: Disabled 1 of 1 plugin auto-updates.
152152
*/

src/Theme_AutoUpdates_Command.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
* ## EXAMPLES
1212
*
1313
* # Enable the auto-updates for a theme
14-
* $ wp theme auto-updates enable activate twentysixteen
14+
* $ wp theme auto-updates enable twentysixteen
1515
* Theme auto-updates for 'twentysixteen' enabled.
1616
* Success: Enabled 1 of 1 theme auto-updates.
1717
*
1818
* # Disable the auto-updates for a theme
19-
* $ wp theme auto-updates disable activate twentysixteen
19+
* $ wp theme auto-updates disable twentysixteen
2020
* Theme auto-updates for 'twentysixteen' disabled.
2121
* Success: Disabled 1 of 1 theme auto-updates.
2222
*
@@ -69,7 +69,7 @@ public function __construct() {
6969
* ## EXAMPLES
7070
*
7171
* # Enable the auto-updates for a theme
72-
* $ wp theme auto-updates enable activate twentysixteen
72+
* $ wp theme auto-updates enable twentysixteen
7373
* Theme auto-updates for 'twentysixteen' enabled.
7474
* Success: Enabled 1 of 1 theme auto-updates.
7575
*/
@@ -146,7 +146,7 @@ public function enable( $args, $assoc_args ) {
146146
* ## EXAMPLES
147147
*
148148
* # Disable the auto-updates for a theme
149-
* $ wp theme auto-updates disable activate twentysixteen
149+
* $ wp theme auto-updates disable twentysixteen
150150
* Theme auto-updates for 'twentysixteen' disabled.
151151
* Success: Disabled 1 of 1 theme auto-updates.
152152
*/

0 commit comments

Comments
 (0)