PluginProbe
Hostinger Tools / 3.0.4
Hostinger Tools v3.0.4
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 +4 -2 3.0.33.0.4 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.3
6 + * Version: 3.0.4
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.3' );
27 + define( 'HOSTINGER_VERSION', '3.0.4' );
28 28 }
29 29
30 30 if ( ! defined( 'HOSTINGER_ABSPATH' ) ) {
31 31 define( 'HOSTINGER_ABSPATH', plugin_dir_path( __FILE__ ) );
@@ -98,8 +98,10 @@
98 98 $vendor_file = __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
99 99
100 100 if ( file_exists( $vendor_file ) ) {
101 101 require_once $vendor_file;
102 +} else {
103 + return;
102 104 }
103 105
104 106 /**
105 107 * Plugin activation hook.