PluginProbe
Hostinger Tools / 3.0.39
Hostinger Tools v3.0.39
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 -4 3.0.383.0.39 View file →
@@ -2,9 +2,9 @@
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.38
6 + * Version: 3.0.39
7 7 * Requires at least: 5.5
8 8 * Requires PHP: 8.0
9 9 * Author: Hostinger
10 10 * License: GPL v3
@@ -23,9 +23,9 @@
23 23
24 24 defined( 'ABSPATH' ) || exit;
25 25
26 26 if ( ! defined( 'HOSTINGER_VERSION' ) ) {
27 - define( 'HOSTINGER_VERSION', '3.0.38' );
27 + define( 'HOSTINGER_VERSION', '3.0.39' );
28 28 }
29 29
30 30 if ( ! defined( 'HOSTINGER_ABSPATH' ) ) {
31 31 define( 'HOSTINGER_ABSPATH', plugin_dir_path( __FILE__ ) );
@@ -130,6 +130,8 @@
130 130 if ( ! has_action( 'plugins_loaded', 'hostinger_load_menus' ) ) {
131 131 add_action( 'plugins_loaded', 'hostinger_load_menus' );
132 132 }
133 133
134 -$hostinger = new Hostinger();
135 -$hostinger->run();
134 +if ( class_exists( 'Hostinger\Hostinger' ) ) {
135 + $hostinger = new Hostinger();
136 + $hostinger->run();
137 +}