| @@ -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. |