I am trying to:
Use wp-cli to manage my WordPress websites, including detecting and installing updates.
Link to a page where the issue can be seen:
None.
I expected to see:
When I run this: wp plugin list
I expect to see an update available for types (3.1.2 => 3.2.3).
Instead, I got:
It showed that types was installed, but no update available. I do have this install registered and if I go into the commercial tab for plugins I can see an update available, but I need to automate this across all my sites.
wp plugin list
+--------------------------------+----------+-----------+---------+
| name | status | update | version |
+--------------------------------+----------+-----------+---------+
| akismet | inactive | none | 4.1 |
| classic-editor | active | none | 1.3 |
| duo-wordpress | active | none | 2.5.4 |
| types | active | none | 3.1.2 |
| wp-mail-smtp | active | none | 1.4.1 |
| wp-migrate-db-pro | active | none | 1.9.2 |
| wp-migrate-db-pro-cli | active | none | 1.3.4 |
| wp-migrate-db-pro-media-files | active | none | 1.4.12 |
| wordpress-seo | active | none | 9.3 |
+--------------------------------+----------+-----------+---------+
Thanks Nigel, having wp-cli support would be a huge help as every other plugin I have supports it. This makes it so much easier to manage my 20 sites. Having one plugin that doesn't support it throws a kink into the whole process...I'll keep my fingers crossed.
Just checking in to see if there were any updates on this one. I'm about to build a new website and I have to decide on whether to use Types or just add the custom post types by hand, this one is kind of a deal breaker.
The issue has been fixed in the installer code, so it will become available with the next Types update (which I think is likely the week after next, when there will be updates for several plugins at once).
You will still need to manually install and register the plugins initially, but once you have you should be able to use wp-cli to update them.
Hi, have just had to update Access, Maps and Forms manually (via wp-admin/plugins.php, they were not recognised by WP-CLI ) are they scheduled to get the new installer?
Installer is part of Types, and with the next Types release the installer update should mean you can update Toolset plugins (on registered sites) using wp-cli.
There will be a joint release of Types, Views and Forms when QA testing on Forms completes. I'm hopeful that will be next week.
When it does you might want to update only Types first, to get the new installer, and then see if you can update Forms and Views via wp-cli.