10up / simple-page-ordering

Order your pages and other hierarchical post types with simple drag and drop right from the standard page list.
https://wordpress.org/plugins/simple-page-ordering/
GNU General Public License v2.0
143 stars 22 forks source link

Add a check to ensure we have a valid PHP version before loading plugin functionality and output an admin notice if needed #153

Closed kmgalanakis closed 10 months ago

kmgalanakis commented 10 months ago

Description of the Change

In this PR, I'm adding a check for the minimum required PHP version before attempting to load the plugin files. If the condition is not met an admin notice is displayed and the plugin files are not loaded.

Closes https://github.com/10up/simple-page-ordering/issues/150

How to test the Change

Changelog Entry

Added - Check for minimum required PHP version before loading the plugin

Credits

Props @kmgalanakis

Checklist: