Allow Plugin sets to add plugins from wordpress.org catalog via WordPress Toolkit CLI
Please, implement a feature for adding plugins to plugin sets from wordpress.org catalog via WordPress Toolkit CLI
The CLI command 'plesk ext wp-toolkit --sets -operation add-plugin' requires a plugin to first be installed either in GUI or CLI using 'plesk ext wp-toolkit --plugins'.
The issue here is that the 'plesk ext wp-toolkit --plugins' command is currently unable to install plugins from wordpress.org in the same way that you can via the GUI.
As an example, look at this set which contains 2 plugins, one added using the command 'plesk ext wp-toolkit --plugins -operation add -source-url https://downloads.wordpress.org/plugin/w3-total-cache.0.9.7.zip'; and the other added using the GUI to search wordpress.org for Wordfence.
plesk ext wp-toolkit --sets -operation info -set-id 9
ID Owner GUID Name
9 7c5241ec-7ab7-12e9-a537-006056813f14 Standard
ID Name Slug Source Version
11 W3 Total Cache w3-total-cache direct upload 0.9.7
13 Wordfence Security – Firewall & Malware Scan wordfence wordpress.org latest
As you can see, the one installed via CLI is version locked and does not count as being sourced from wordpress.org. The one installed via GUI will use the latest version from wordpress.org.
To be clear, this feature request is asking for the ability to add a plugin to the server so that it ends up like plugin 13 in the example, not plugin 11.
I note that Plesk Staff closed a similar Feature Request, which appears to be asking for the same thing.