| @@ -4,17 +4,19 @@ | ||
| 4 | 4 | * Plugin Name: Import WP |
| 5 | 5 | * Plugin URI: https://www.importwp.com |
| 6 | 6 | * Description: Import WP is a powerful Importer & Exporter with a visual data selection tool that makes it easy to Export or Import any XML or CSV file to WordPress. |
| 7 | 7 | * Author: James Collings <[email protected]> |
| 8 | - * Version: 2.7.7 | |
| 8 | + * Version: 2.15.0 | |
| 9 | 9 | * Author URI: https://www.importwp.com |
| 10 | 10 | * Network: True |
| 11 | + * Text Domain: jc-importer | |
| 12 | + * Domain Path: /languages | |
| 11 | 13 | */ |
| 12 | 14 | |
| 13 | 15 | $iwp_base_path = dirname(__FILE__); |
| 14 | 16 | |
| 15 | 17 | if (!defined('IWP_VERSION')) { |
| 16 | - define('IWP_VERSION', '2.7.7'); | |
| 18 | + define('IWP_VERSION', '2.15.0'); | |
| 17 | 19 | } |
| 18 | 20 | |
| 19 | 21 | if (!defined('IWP_MINIMUM_PHP_VERSION')) { |
| 20 | 22 | define('IWP_MINIMUM_PHP_VERSION', '5.4'); |
| @@ -31,9 +33,15 @@ | ||
| 31 | 33 | if (!defined('IWP_CORE_MIN_PRO_VERSION')) { |
| 32 | 34 | define('IWP_CORE_MIN_PRO_VERSION', '2.6.0'); |
| 33 | 35 | } |
| 34 | 36 | |
| 37 | +if (!defined('IWP_DEBUG')) { | |
| 38 | + define('IWP_DEBUG', false); | |
| 39 | +} | |
| 40 | + | |
| 35 | 41 | if (version_compare(PHP_VERSION, IWP_MINIMUM_PHP_VERSION, '>=')) { |
| 36 | 42 | require_once $iwp_base_path . '/class/autoload.php'; |
| 37 | 43 | require_once $iwp_base_path . '/setup-iwp.php'; |
| 38 | 44 | require_once $iwp_base_path . '/functions.php'; |
| 39 | 45 | } |
| 46 | + | |
| 47 | +register_deactivation_hook(__FILE__, 'iwp_register_muplugin_uninstall'); | |