Skip to content

Commit 7fb9b9b

Browse files
committed
update docblock comments for each function
1 parent bdf4cfa commit 7fb9b9b

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

src/Plugin_Command.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,10 +1176,10 @@ public function delete( $args, $assoc_args = array() ) {
11761176
* * status
11771177
* * update
11781178
* * version
1179+
* * update_version
11791180
*
11801181
* These fields are optionally available:
11811182
*
1182-
* * update_version
11831183
* * update_package
11841184
* * update_id
11851185
* * title
@@ -1192,22 +1192,22 @@ public function delete( $args, $assoc_args = array() ) {
11921192
*
11931193
* # List active plugins on the site.
11941194
* $ wp plugin list --status=active --format=json
1195-
* [{"name":"dynamic-hostname","status":"active","update":"none","version":"0.4.2"},{"name":"tinymce-templates","status":"active","update":"none","version":"4.4.3"},{"name":"wp-multibyte-patch","status":"active","update":"none","version":"2.4"},{"name":"wp-total-hacks","status":"active","update":"none","version":"2.0.1"}]
1195+
* [{"name":"dynamic-hostname","status":"active","update":"none","version":"0.4.2","update_version": null},{"name":"tinymce-templates","status":"active","update":"none","version":"4.4.3","update_version": null},{"name":"wp-multibyte-patch","status":"active","update":"none","version":"2.4","update_version": null},{"name":"wp-total-hacks","status":"active","update":"none","version":"2.0.1","update_version": null}]
11961196
*
11971197
* # List plugins on each site in a network.
11981198
* $ wp site list --field=url | xargs -I % wp plugin list --url=%
1199-
* +---------+----------------+--------+---------+
1200-
* | name | status | update | version |
1201-
* +---------+----------------+--------+---------+
1202-
* | akismet | active-network | none | 3.1.11 |
1203-
* | hello | inactive | none | 1.6 |
1204-
* +---------+----------------+--------+---------+
1205-
* +---------+----------------+--------+---------+
1206-
* | name | status | update | version |
1207-
* +---------+----------------+--------+---------+
1208-
* | akismet | active-network | none | 3.1.11 |
1209-
* | hello | inactive | none | 1.6 |
1210-
* +---------+----------------+--------+---------+
1199+
* +---------+----------------+--------+---------+----------------+
1200+
* | name | status | update | version | update_version |
1201+
* +---------+----------------+--------+---------+----------------+
1202+
* | akismet | active-network | none | 3.1.11 | |
1203+
* | hello | inactive | none | 1.6 | 1.7.2 |
1204+
* +---------+----------------+--------+---------+----------------+
1205+
* +---------+----------------+--------+---------+----------------+
1206+
* | name | status | update | version | update_version |
1207+
* +---------+----------------+--------+---------+----------------+
1208+
* | akismet | active-network | none | 3.1.11 | |
1209+
* | hello | inactive | none | 1.6 | 1.7.2 |
1210+
* +---------+----------------+--------+---------+----------------+
12111211
*
12121212
* @subcommand list
12131213
*/

src/Theme_Command.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -846,10 +846,10 @@ public function delete( $args, $assoc_args ) {
846846
* * status
847847
* * update
848848
* * version
849+
* * update_version
849850
*
850851
* These fields are optionally available:
851852
*
852-
* * update_version
853853
* * update_package
854854
* * update_id
855855
* * title
@@ -860,9 +860,9 @@ public function delete( $args, $assoc_args ) {
860860
*
861861
* # List themes
862862
* $ wp theme list --status=inactive --format=csv
863-
* name,status,update,version
864-
* twentyfourteen,inactive,none,1.7
865-
* twentysixteen,inactive,available,1.1
863+
* name,status,update,version,update_version
864+
* twentyfourteen,inactive,none,1.7,
865+
* twentysixteen,inactive,available,1.1,
866866
*
867867
* @subcommand list
868868
*/

0 commit comments

Comments
 (0)