PluginProbe
Hostinger Tools / 3.0.41
Hostinger Tools v3.0.41
3.0.77 3.0.76 3.0.75 3.0.74 3.0.73 3.0.72 3.0.71 3.0.70 3.0.69 3.0.68 3.0.67 3.0.66 1.8.1 1.8.2 1.8.3 1.9.1 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.4 All 108 releases
← All changes | hostinger.php +6 -11 3.0.693.0.41 View file →
@@ -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.69
6 + * Version: 3.0.41
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.69' );
26 +if ( ! defined( 'HOSTINGER_VERSION' ) ) {
27 + define( 'HOSTINGER_VERSION', '3.0.41' );
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(
@@ -99,14 +100,8 @@
99 100 if ( file_exists( $vendor_file ) ) {
100 101 require_once $vendor_file;
101 102 } else {
102 103 return;
103 -}
104 -
105 -// Action Scheduler should be loaded before plugins_loaded hook.
106 -$action_scheduler = __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'woocommerce' . DIRECTORY_SEPARATOR . 'action-scheduler' . DIRECTORY_SEPARATOR . 'action-scheduler.php';
107 -if ( file_exists( $action_scheduler ) ) {
108 - require_once $action_scheduler;
109 104 }
110 105
111 106 /**
112 107 * Plugin activation hook.