| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Hostinger |
| 4 | 4 | * Plugin URI: https://hostinger.com |
| 5 | 5 | * Description: Hostinger WordPress plugin. |
| 6 | - * Version: 2.0.1 | |
| 6 | + * Version: 2.0.8 | |
| 7 | 7 | * Requires at least: 5.9 |
| 8 | 8 | * Requires PHP: 7.4 |
| 9 | 9 | * Author: Hostinger |
| 10 | 10 | * License: GPL v3 |
| @@ -18,9 +18,9 @@ | ||
| 18 | 18 | |
| 19 | 19 | defined( 'ABSPATH' ) || exit; |
| 20 | 20 | |
| 21 | 21 | if ( ! defined( 'HOSTINGER_VERSION' ) ) { |
| 22 | - define( 'HOSTINGER_VERSION', '2.0.1' ); | |
| 22 | + define( 'HOSTINGER_VERSION', '2.0.8' ); | |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | if ( ! defined( 'HOSTINGER_ABSPATH' ) ) { |
| 26 | 26 | define( 'HOSTINGER_ABSPATH', plugin_dir_path( __FILE__ ) ); |
| @@ -52,8 +52,10 @@ | ||
| 52 | 52 | define( 'HOSTINGER_REST_URI', 'https://rest-hosting.hostinger.com' ); |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | + * Plugin activation hook. | |
| 57 | + * | |
| 56 | 58 | * @return void |
| 57 | 59 | */ |
| 58 | 60 | function hostinger_activate(): void { |
| 59 | 61 | require_once HOSTINGER_ABSPATH . 'includes/class-hostinger-activator.php'; |
| @@ -60,8 +62,10 @@ | ||
| 60 | 62 | Hostinger_Activator::activate(); |
| 61 | 63 | } |
| 62 | 64 | |
| 63 | 65 | /** |
| 66 | + * Plugin dectivation hook. | |
| 67 | + * | |
| 64 | 68 | * @return void |
| 65 | 69 | */ |
| 66 | 70 | function hostinger_deactivate(): void { |
| 67 | 71 | require_once HOSTINGER_ABSPATH . 'includes/class-hostinger-deactivator.php'; |