Skip to content

Supporting "Requires PHP", enhancing "Tested Up to" and PHP 8.1 compatibility improvements

Compare
Choose a tag to compare
@swashata swashata released this 05 Dec 12:46
· 212 commits to master since this release
2e56d68

Supporting "Requires PHP" in the readme.txt

WordPress supports having a special header Requires PHP in a plugin's readme.txt file. If this is present and the current web-host is not running a compatible PHP version WordPress blocks plugin updates.

Following feedback from our partners, we have added the same capability in our SDK and deployment strategy. If you include the Requires PHP header in your plugin's readme.txt file, the SDK will show an appropriate notice in the update page and will block update if needed.

image

Improvements to the "Tested up to" header

If the current WordPress version is a patch of the "Tested up to" version (e.g., 6.1.2 is a patch of 6.1), then our SDK will now detect it and will show that the plugin is compatible with it. This saves a false positive notice and also saves our partners from having to deploy a version just to bump a patched "Tested up to" header.

PHP 8.1 Compatibility improvements

We've found some compatibility issues with how FS_Admin_Menu_Manager was called when running our SDK with PHP 8.1. With this release, the issue has been fixed.