@@ -375,10 +375,10 @@ These fields will be displayed by default for each plugin:
375
375
* status
376
376
* update
377
377
* version
378
+ * update_version
378
379
379
380
These fields are optionally available:
380
381
381
- * update_version
382
382
* update_package
383
383
* update_id
384
384
* title
@@ -391,22 +391,22 @@ These fields are optionally available:
391
391
392
392
# List active plugins on the site.
393
393
$ wp plugin list --status=active --format=json
394
- [{"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"}]
394
+ [{"name":"dynamic-hostname","status":"active","update":"none","version":"0.4.2","update_version": "" },{"name":"tinymce-templates","status":"active","update":"none","version":"4.4.3","update_version": "" },{"name":"wp-multibyte-patch","status":"active","update":"none","version":"2.4","update_version": "" },{"name":"wp-total-hacks","status":"active","update":"none","version":"2.0.1","update_version": " "}]
395
395
396
396
# List plugins on each site in a network.
397
397
$ wp site list --field=url | xargs -I % wp plugin list --url=%
398
- +---------+----------------+--------+---------+
399
- | name | status | update | version |
400
- +---------+----------------+--------+---------+
401
- | akismet | active-network | none | 3.1.11 |
402
- | hello | inactive | none | 1.6 |
403
- +---------+----------------+--------+---------+
404
- +---------+----------------+--------+---------+
405
- | name | status | update | version |
406
- +---------+----------------+--------+---------+
407
- | akismet | active-network | none | 3.1.11 |
408
- | hello | inactive | none | 1.6 |
409
- +---------+----------------+--------+---------+
398
+ +---------+----------------+--------+---------+----------------+
399
+ | name | status | update | version | update_version |
400
+ +---------+----------------+--------+---------+----------------+
401
+ | akismet | active-network | none | 3.1.11 | |
402
+ | hello | inactive | none | 1.6 | 1.7.2 |
403
+ +---------+----------------+--------+---------+----------------+
404
+ +---------+----------------+--------+---------+----------------+
405
+ | name | status | update | version | update_version |
406
+ +---------+----------------+--------+---------+----------------+
407
+ | akismet | active-network | none | 3.1.11 | |
408
+ | hello | inactive | none | 1.6 | 1.7.2 |
409
+ +---------+----------------+--------+---------+----------------+
410
410
411
411
412
412
@@ -1058,10 +1058,10 @@ These fields will be displayed by default for each theme:
1058
1058
* status
1059
1059
* update
1060
1060
* version
1061
+ * update_version
1061
1062
1062
1063
These fields are optionally available:
1063
1064
1064
- * update_version
1065
1065
* update_package
1066
1066
* update_id
1067
1067
* title
@@ -1072,9 +1072,9 @@ These fields are optionally available:
1072
1072
1073
1073
# List themes
1074
1074
$ wp theme list --status=inactive --format=csv
1075
- name,status,update,version
1076
- twentyfourteen,inactive,none,1.7
1077
- twentysixteen,inactive,available,1.1
1075
+ name,status,update,version,update_version
1076
+ twentyfourteen,inactive,none,1.7,
1077
+ twentysixteen,inactive,available,1.1,
1078
1078
1079
1079
1080
1080
0 commit comments