| @@ -7,20 +7,20 @@ | ||
| 7 | 7 | * Author: bozdoz |
| 8 | 8 | * Author URI: https://bozdoz.com/ |
| 9 | 9 | * Text Domain: leaflet-map |
| 10 | 10 | * Domain Path: /languages/ |
| 11 | - * Version: 2.16.2 | |
| 11 | + * Version: 3.4.5 | |
| 12 | 12 | * License: GPL2 |
| 13 | 13 | * Leaflet Map is free software: you can redistribute it and/or modify |
| 14 | 14 | * it under the terms of the GNU General Public License as published by |
| 15 | 15 | * the Free Software Foundation, either version 2 of the License, or |
| 16 | 16 | * any later version. |
| 17 | - * | |
| 17 | + * | |
| 18 | 18 | * Leaflet Map is distributed in the hope that it will be useful, |
| 19 | 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | 21 | * GNU General Public License for more details. |
| 22 | - * | |
| 22 | + * | |
| 23 | 23 | * You should have received a copy of the GNU General Public License |
| 24 | 24 | * along with Leaflet Map. If not, see https://github.com/bozdoz/wp-plugin-leaflet-map/blob/master/LICENSE. |
| 25 | 25 | */ |
| 26 | 26 | |
| @@ -25,12 +25,12 @@ | ||
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | // Exit if accessed directly |
| 28 | 28 | if (!defined('ABSPATH')) { |
| 29 | - exit; | |
| 29 | + exit(); | |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | -define('LEAFLET_MAP__PLUGIN_VERSION', '2.16.2'); | |
| 32 | +define('LEAFLET_MAP__PLUGIN_VERSION', '3.4.5'); | |
| 33 | 33 | define('LEAFLET_MAP__PLUGIN_FILE', __FILE__); |
| 34 | 34 | define('LEAFLET_MAP__PLUGIN_DIR', plugin_dir_path(__FILE__)); |
| 35 | 35 | |
| 36 | 36 | // import main class |
| @@ -36,7 +36,7 @@ | ||
| 36 | 36 | // import main class |
| 37 | 37 | require_once LEAFLET_MAP__PLUGIN_DIR . 'class.leaflet-map.php'; |
| 38 | 38 | |
| 39 | 39 | // uninstall hook |
| 40 | -register_uninstall_hook(__FILE__, array('Leaflet_Map', 'uninstall')); | |
| 40 | +register_uninstall_hook(__FILE__, ['Leaflet_Map', 'uninstall']); | |
| 41 | 41 | |
| 42 | -add_action('init', array('Leaflet_Map', 'init')); | |
| 42 | +add_action('init', ['Leaflet_Map', 'init']); | |