@@ -376,6 +376,7 @@ These fields will be displayed by default for each plugin:
376376* update
377377* version
378378* update_version
379+ * auto_update
379380
380381These fields are optionally available:
381382
@@ -384,7 +385,6 @@ These fields are optionally available:
384385* title
385386* description
386387* file
387- * auto_update
388388* author
389389* wporg_status
390390* wporg_last_updated
@@ -393,25 +393,25 @@ These fields are optionally available:
393393
394394 # List active plugins on the site.
395395 $ wp plugin list --status=active --format=json
396- [{"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": " "}]
396+ [{"name":"dynamic-hostname","status":"active","update":"none","version":"0.4.2","update_version":"","auto_update":"off" },{"name":"tinymce-templates","status":"active","update":"none","version":"4.8.1 ","update_version":"","auto_update":"off" },{"name":"wp-multibyte-patch","status":"active","update":"none","version":"2.9 ","update_version":"","auto_update":"off" },{"name":"wp-total-hacks","status":"active","update":"none","version":"4.7.2 ","update_version":"","auto_update":"off "}]
397397
398398 # List plugins on each site in a network.
399399 $ wp site list --field=url | xargs -I % wp plugin list --url=%
400- +---------+----------------+--------+---------+----------------+
401- | name | status | update | version | update_version |
402- +---------+----------------+--------+---------+----------------+
403- | akismet | active-network | none | 3.1.11 | |
404- | hello | inactive | none | 1.6 | 1.7.2 |
405- +---------+----------------+--------+---------+----------------+
406- +---------+----------------+--------+---------+----------------+
407- | name | status | update | version | update_version |
408- +---------+----------------+--------+---------+----------------+
409- | akismet | active-network | none | 3.1.11 | |
410- | hello | inactive | none | 1.6 | 1.7.2 |
411- +---------+----------------+--------+---------+----------------+
400+ +---------+----------------+----------- +---------+-----------------+ ------------+
401+ | name | status | update | version | update_version | auto_update |
402+ +---------+----------------+----------- +---------+----------------+ -------------+
403+ | akismet | active-network | none | 5. 3.1 | | on |
404+ | hello | inactive | available | 1.6 | 1.7.2 | off |
405+ +---------+----------------+----------- +---------+----------------+ -------------+
406+ +---------+----------------+----------- +---------+----------------+ -------------+
407+ | name | status | update | version | update_version | auto_update |
408+ +---------+----------------+----------- +---------+----------------+ -------------+
409+ | akismet | active-network | none | 5. 3.1 | | on |
410+ | hello | inactive | available | 1.6 | 1.7.2 | off |
411+ +---------+----------------+----------- +---------+----------------+ -------------+
412412
413413 # Check whether plugins are still active on WordPress.org
414- $ wp plugin list --format=csv -- fields=name,wporg_status,wporg_last_updated
414+ $ wp plugin list --fields=name,wporg_status,wporg_last_updated
415415 +--------------------+--------------+--------------------+
416416 | name | wporg_status | wporg_last_updated |
417417 +--------------------+--------------+--------------------+
0 commit comments