| @@ -2,12 +2,11 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Hostinger Tools |
| 4 | 4 | * Plugin URI: https://hostinger.com |
| 5 | 5 | * Description: Hostinger WordPress plugin. |
| 6 | - * Version: 3.0.66 | |
| 6 | + * Version: 3.0.49 | |
| 7 | 7 | * Requires at least: 5.5 |
| 8 | - * Tested up to: 6.9 | |
| 9 | - * Requires PHP: 8.1 | |
| 8 | + * Requires PHP: 8.0 | |
| 10 | 9 | * Author: Hostinger |
| 11 | 10 | * License: GPL v3 |
| 12 | 11 | * License URI: https://www.gnu.org/licenses/gpl-3.0.html |
| 13 | 12 | * Author URI: https://www.hostinger.com |
| @@ -23,9 +22,11 @@ | ||
| 23 | 22 | use Hostinger\WpMenuManager\Manager; |
| 24 | 23 | |
| 25 | 24 | defined( 'ABSPATH' ) || exit; |
| 26 | 25 | |
| 27 | -define( 'HOSTINGER_WORDPRESS_PLUGIN_VERSION', '3.0.66' ); | |
| 26 | +if ( ! defined( 'HOSTINGER_VERSION' ) ) { | |
| 27 | + define( 'HOSTINGER_VERSION', '3.0.49' ); | |
| 28 | +} | |
| 28 | 29 | |
| 29 | 30 | if ( ! defined( 'HOSTINGER_ABSPATH' ) ) { |
| 30 | 31 | define( 'HOSTINGER_ABSPATH', plugin_dir_path( __FILE__ ) ); |
| 31 | 32 | } |
| @@ -68,9 +69,9 @@ | ||
| 68 | 69 | define( 'HOSTINGER_PLUGIN_REST_API_BASE', 'hostinger-tools-plugin/v1' ); |
| 69 | 70 | } |
| 70 | 71 | |
| 71 | 72 | if ( ! defined( 'HOSTINGER_PLUGIN_MINIMUM_PHP_VERSION' ) ) { |
| 72 | - define( 'HOSTINGER_PLUGIN_MINIMUM_PHP_VERSION', '8.1' ); | |
| 73 | + define( 'HOSTINGER_PLUGIN_MINIMUM_PHP_VERSION', '8.0' ); | |
| 73 | 74 | } |
| 74 | 75 | |
| 75 | 76 | if ( ! version_compare( phpversion(), HOSTINGER_PLUGIN_MINIMUM_PHP_VERSION, '>=' ) ) { |
| 76 | 77 | add_action( |