[Bug] missing versions in plugin json
-
This thread was created to report a bug in this plugin’s json on wordpress.org
The above file clearly states that the latest version is 1.0.17
{
"name": "CoinPayments.net Payment Gateway for WooCommerce",
"slug": "coinpayments-payment-gateway-for-woocommerce",
"version": "1.0.17",The problem is: the “versions” section is empty
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:"tags": {
"altcoin": "altcoin",
"altcoins": "altcoins",
"bitcoin": "bitcoin",
"dogecoin": "dogecoin",
"litecoin": "Litecoin"
},
"versions": [],
"donate_link": "https://gocps.net/3ncyzcq3sy0ww1rxghleip1aky/",{
"name": "WooCommerce",
"slug": "woocommerce",
"version": "9.7.1",
..."versions": {
"3.0.0": "https://downloads.wordpress.org/plugin/woocommerce.3.0.0.zip",
"3.0.1": "https://downloads.wordpress.org/plugin/woocommerce.3.0.1.zip",
"3.0.2": "https://downloads.wordpress.org/plugin/woocommerce.3.0.2.zip",
...
"9.7.0": "https://downloads.wordpress.org/plugin/woocommerce.9.7.0.zip",
"9.7.0-beta.1": "https://downloads.wordpress.org/plugin/woocommerce.9.7.0-beta.1.zip",
"9.7.0-rc.1": "https://downloads.wordpress.org/plugin/woocommerce.9.7.0-rc.1.zip",
"9.7.1": "https://downloads.wordpress.org/plugin/woocommerce.9.7.1.zip",
"9.8.0-beta.1": "https://downloads.wordpress.org/plugin/woocommerce.9.8.0-beta.1.zip",
"9.8.0-rc.1": "https://downloads.wordpress.org/plugin/woocommerce.9.8.0-rc.1.zip",
"trunk": "https://downloads.wordpress.org/plugin/woocommerce.zip"
},Note that the (truncated for for brevity) “versions” section includes *all* the versions — most importantly the current version 9.7.1.
Please update your plugin on wordpress.org to include the current version.
The topic ‘[Bug] missing versions in plugin json’ is closed to new replies.