Open brandonpayton opened 5 days ago
The wordpress-builds packages queries the latest WordPress versions from api.wordpress.org, and that API appears to include the minimum supported PHP version with each release.
wordpress-builds
For example:
{ "response": "development", "download": "https:\/\/downloads.wordpress.org\/release\/wordpress-6.7-beta1.zip", "locale": "en_US", "packages": { "full": "https:\/\/downloads.wordpress.org\/release\/wordpress-6.7-beta1.zip", "no_content": false, "new_bundled": false, "partial": false, "rollback": false }, "current": "6.7-beta1", "version": "6.7-beta1", "php_version": "7.2.24", "mysql_version": "5.5.5", "new_bundled": "6.4", "partial_version": false }
Once we have this information, we have an opportunity to warn users about the selection of an unsupported WP + PHP version combo.
I was thinking of ditching PHP 7.0 and 7.1 the moment they start throwing build errors.
The
wordpress-builds
packages queries the latest WordPress versions from api.wordpress.org, and that API appears to include the minimum supported PHP version with each release.For example:
Once we have this information, we have an opportunity to warn users about the selection of an unsupported WP + PHP version combo.