| @@ -1,10 +1,6 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if (!defined('PHASTPRESS_VERSION')) { | |
| 4 | - exit; | |
| 5 | -} | |
| 6 | - | |
| 7 | 3 | add_action('admin_notices', 'phastpress_php_version_notice'); |
| 8 | 4 | |
| 9 | 5 | function phastpress_php_version_notice() { |
| 10 | 6 | ?> |
| @@ -10,10 +6,10 @@ | ||
| 10 | 6 | ?> |
| 11 | 7 | <div class="error notice"> |
| 12 | 8 | <p> |
| 13 | 9 | <b>Sorry, PhastPress won't work here.</b> |
| 14 | - PhastPress requires at least PHP version 7.3. | |
| 15 | - Get in touch with your hosting provider for an upgrade to the latest PHP version. | |
| 10 | + Like WordPress, PhastPress requires at least PHP version 5.6.20. | |
| 11 | + Get in touch with your hosting provider for an upgrade. | |
| 16 | 12 | </p> |
| 17 | 13 | </div> |
| 18 | 14 | <?php |
| 19 | 15 | } |