cabrerahector / wordpress-popular-posts

WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
https://wordpress.org/plugins/wordpress-popular-posts/
GNU General Public License v2.0
280 stars 82 forks source link

Remove PHP version check from the plugin bootstrap file #314

Closed cabrerahector closed 2 years ago

cabrerahector commented 2 years ago

Starting version 5.2 WordPress automatically checks whether the site meets plugin's minimum required PHP version or not, see Version 5.2 Release Notes - Plugin Compatibility Checks.

At the time of writing WordPress Popular Posts requires at least WordPress 4.9 to work. Once the plugin bumps its minimum required WordPress version to 5.2 we'll no longer need to do that check in the bootstrap file.

cabrerahector commented 2 years ago

Note: since version 5.8 WordPress no longer checks readme.txt to validate requirements, see Remove parsing of readme.txt files from validate_plugin_requirements().

In short: