| @@ -3,11 +3,10 @@ | ||
| 3 | 3 | /* |
| 4 | 4 | Plugin Name: WT Security |
| 5 | 5 | Description: WT is a SaaS which provides powerful tools for securing and monitoring your website in one place in easy and flexible way. |
| 6 | 6 | Author: WT Security |
| 7 | -Version: 2.1 | |
| 7 | +Version: 1.0.6 | |
| 8 | 8 | */ |
| 9 | - | |
| 10 | 9 | define("WTSEC_PAGE_TITLE", 'Dashboard'); |
| 11 | 10 | define("WTSEC_MENU_TITLE", 'WT Security'); |
| 12 | 11 | define("WTSEC_PLUGIN_PATH", plugin_dir_path(__FILE__)); |
| 13 | 12 | define("WTSEC_PLUGIN_NAME", 'wt-security'); |
| @@ -12,9 +11,9 @@ | ||
| 12 | 11 | define("WTSEC_PLUGIN_PATH", plugin_dir_path(__FILE__)); |
| 13 | 12 | define("WTSEC_PLUGIN_NAME", 'wt-security'); |
| 14 | 13 | define("WTSEC_PLUGIN_PREFIX", 'wtsec_'); |
| 15 | 14 | define("WTSEC_PAGE_PREFIX", WTSEC_PLUGIN_NAME . '-'); |
| 16 | -define("WTSEC_FILE_URL", "https://api.wtotem.com/agent"); | |
| 15 | +define("WTSEC_FILE_URL", "https://api.wtotem.com"); | |
| 17 | 16 | define("WTSEC_ROOT", WP_PLUGIN_DIR . '/'); |
| 18 | 17 | define("WTSEC_MODULES_DIR", WTSEC_PLUGIN_PATH . 'uploads/'); |
| 19 | 18 | if (is_dir(WTSEC_MODULES_DIR) && is_writable(WTSEC_MODULES_DIR)) { |
| 20 | 19 | define("WTSEC_INSTALLATION_DIR", WTSEC_MODULES_DIR); |
| @@ -25,9 +24,9 @@ | ||
| 25 | 24 | } |
| 26 | 25 | define("WTSEC_PLUGIN_URL", plugins_url("", __FILE__)); |
| 27 | 26 | define("WTSEC_SITE_URL", str_replace(['http://', 'https://', 'www.', '//', '://'], '', get_site_url())); |
| 28 | 27 | |
| 29 | -define("WTSEC_PLUGIN_INFORMATION_VERSION", "2.1"); | |
| 28 | +define("WTSEC_PLUGIN_INFORMATION_VERSION", "1.0"); | |
| 30 | 29 | |
| 31 | 30 | add_action('admin_init', 'wtsec_admin_init'); |
| 32 | 31 | add_action('wp_loaded', 'wtsec_init'); |
| 33 | 32 | |