[bug] missing versions in plugin json
-
This thread was created to report a bug in this plugin’s json on wordpress.org
* https://api.wordpress.org/plugins/info/1.0/woo-multi-currency.json
The above file clearly states that the latest version is 2.2.12
{ "name":"CURCY – Multi Currency for WooCommerce – Smoothly on WooCommerce 9.x", "slug":"woo-multi-currency", "version":"2.2.12", ...The problem is: the “versions” section doesn’t include any of the versions beyond 2.1.12
"versions":{ "2.1.12":"https:\/\/downloads.wordpress.org\/plugin\/woo-multi-currency.2.1.12.zip", "2.1.14":"https:\/\/downloads.wordpress.org\/plugin\/woo-multi-currency.2.1.14.zip", "2.1.7":"https:\/\/downloads.wordpress.org\/plugin\/woo-multi-currency.2.1.7.zip", "2.1.8":"https:\/\/downloads.wordpress.org\/plugin\/woo-multi-currency.2.1.8.zip", "2.1.9":"https:\/\/downloads.wordpress.org\/plugin\/woo-multi-currency.2.1.9.zip" },This breaks automation for tools that query the wordpress.org api to fetch updates for wordpress installs. For reference, here’s how this looks for another plugin. I’ll use ‘woocommerce’ as an example:
* https://api.wordpress.org/plugins/info/1.0/woocommerce.json
{ "name":"WooCommerce", "slug":"woocommerce", "version":"10.6.1", ... "versions": { ... "10.6.0":"https:\/\/downloads.wordpress.org\/plugin\/woocommerce.10.6.0.zip", "10.6.0-beta.1":"https:\/\/downloads.wordpress.org\/plugin\/woocommerce.10.6.0-beta.1.zip", "10.6.0-beta.2":"https:\/\/downloads.wordpress.org\/plugin\/woocommerce.10.6.0-beta.2.zip", "10.6.0-rc.1":"https:\/\/downloads.wordpress.org\/plugin\/woocommerce.10.6.0-rc.1.zip", "10.6.1":"https:\/\/downloads.wordpress.org\/plugin\/woocommerce.10.6.1.zip", },Note that the (truncated for for brevity) “versions” section includes *all* the versions — most importantly the current version 10.6.1.
Please update your plugin on wordpress.org to include the current version.
You must be logged in to reply to this topic.