Skip to content

Commit 0f4b688

Browse files
Copilotswissspidy
andcommitted
Add @subcommand check-update annotations
Co-authored-by: swissspidy <[email protected]>
1 parent da431b3 commit 0f4b688

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Plugin_Command.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ public function status( $args ) {
158158
* # List plugins with available updates in JSON format
159159
* $ wp plugin check-update --format=json
160160
* [{"name":"akismet","status":"active","version":"4.1.0","update_version":"4.1.1"}]
161+
*
162+
* @subcommand check-update
161163
*/
162164
public function check_update( $args, $assoc_args ) {
163165
// Force WordPress to check for updates.

src/Theme_Command.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ public function status( $args ) {
151151
* # List themes with available updates in JSON format
152152
* $ wp theme check-update --format=json
153153
* [{"name":"twentytwelve","status":"inactive","version":"2.0","update_version":"2.1"}]
154+
*
155+
* @subcommand check-update
154156
*/
155157
public function check_update( $args, $assoc_args ) {
156158
// Force WordPress to check for updates.

0 commit comments

Comments
 (0)