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

Drop PHP 5.x support #312

Closed cabrerahector closed 2 years ago

cabrerahector commented 2 years ago

PHP 5.4, which WordPress Popular Posts currently supports, reached End-of-Life (EOL) status on September 2015. While the plugin works just fine with it and newer versions of PHP (eg. 5.6) I think it's about time to up the minimum requirement to PHP 7.0 (EOL'd on January 2019) or 7.1 (EOL'd on December 2010). Why? Because, why not?

Bumping the minimum supported PHP version to 7.x will allow the plugin to use more modern / better / more performant PHP functions and APIs (not that it needs to right now but it'd nice to have). It'll also help push the adoption of PHP 7 in the community and, hopefully, help WordPress finally move on from PHP 5.x.