composer-wp-pro-plugins
composer-wp-pro-plugins copied to clipboard
Polylang: Fail if we download the incorrect version
We are seeing the api give us the most recent version, but this version broke our website.
We spent a lot of time running down the fact that the version we requested was not being downloaded.
https://polylang.pro?edd_action=get_version&license=REDACTED&item_name=Polylang+Pro&url=REDACTED&version=3.1.4
returns
{ "new_version": "3.2.3", "stable_version": "3.2.3", "name": "Polylang Pro", "slug": "polylang-pro", ... }
It even says it is installing 3.1.4 during the composer install step.
I would have liked it to fail loudly when this occurs.