| @@ -1,25 +1,25 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @package FireBox |
| 4 | - * @version 3.1.7 | |
| 4 | + * @version 2.1.4 Free | |
| 5 | 5 | * |
| 6 | 6 | * @author FirePlugins <info@fireplugins.com> |
| 7 | 7 | * @link https://www.fireplugins.com |
| 8 | - * @copyright Copyright © 2026 FirePlugins All Rights Reserved | |
| 8 | + * @copyright Copyright © 2024 FirePlugins All Rights Reserved | |
| 9 | 9 | * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later |
| 10 | 10 | * |
| 11 | - * Plugin Name: FireBox 3.1.7 Free | |
| 11 | + * Plugin Name: FireBox | |
| 12 | 12 | * Plugin URI: https://www.fireplugins.com/ |
| 13 | 13 | * Description: WordPress Popup and leads generation plugin that converts visitors into subscribers & customers. |
| 14 | - * Version: 3.1.7 | |
| 15 | - * Author: FireBox Popup Plugin Team | |
| 14 | + * Version: 2.1.4 | |
| 15 | + * Author: FirePlugins Popup Plugin Team | |
| 16 | 16 | * Author URI: https://www.fireplugins.com/ |
| 17 | 17 | * Text Domain: firebox |
| 18 | 18 | * Domain Path: /languages |
| 19 | - * Requires at least: 5.5 | |
| 19 | + * Requires at least: 5.4 | |
| 20 | 20 | * Requires PHP: 7.0 |
| 21 | - * License: GPLv3 or later | |
| 21 | + * License: GNU General Public License v2.0+ | |
| 22 | 22 | * License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 23 | 23 | */ |
| 24 | 24 | |
| 25 | 25 | // If this file is called directly, abort. |
| @@ -46,9 +46,9 @@ | ||
| 46 | 46 | |
| 47 | 47 | // Plugin version |
| 48 | 48 | if (!defined('FBOX_VERSION')) |
| 49 | 49 | { |
| 50 | - define('FBOX_VERSION', '3.1.7'); | |
| 50 | + define('FBOX_VERSION', '2.1.4'); | |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | // Plugin License type (free/pro) |
| 54 | 54 | if (!defined('FBOX_LICENSE_TYPE')) |
| @@ -59,21 +59,8 @@ | ||
| 59 | 59 | |
| 60 | 60 | define('FBOX_LICENSE_TYPE', $type); |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | -// Plugin License Plan (basic/pro/growth) | |
| 64 | -if (!defined('FBOX_LICENSE_PLAN')) | |
| 65 | -{ | |
| 66 | - | |
| 67 | - $plan = 'free'; | |
| 68 | - | |
| 69 | - | |
| 70 | - | |
| 71 | - | |
| 72 | - | |
| 73 | - define('FBOX_LICENSE_PLAN', $plan); | |
| 74 | -} | |
| 75 | - | |
| 76 | 63 | // PHP Minimm Version |
| 77 | 64 | if (!defined('FBOX_MINIMUM_PHP_VERSION')) |
| 78 | 65 | { |
| 79 | 66 | define('FBOX_MINIMUM_PHP_VERSION', '7.0'); |
| @@ -78,20 +65,20 @@ | ||
| 78 | 65 | { |
| 79 | 66 | define('FBOX_MINIMUM_PHP_VERSION', '7.0'); |
| 80 | 67 | } |
| 81 | 68 | |
| 69 | + | |
| 82 | 70 | // Go Pro URL |
| 83 | 71 | if (!defined('FBOX_GO_PRO_URL')) |
| 84 | 72 | { |
| 85 | - define('FBOX_GO_PRO_URL', 'https://www.fireplugins.com/upgrade/?utm_source=product&utm_campaign=firebox-' . (FBOX_LICENSE_TYPE === 'lite' ? 'free' : 'pro') . '&utm_medium=%s-feature'); | |
| 73 | + define('FBOX_GO_PRO_URL', 'https://www.fireplugins.com/firebox/upgrade?coupon=FREE2PRO&utm_source=Wordpress&utm_medium=upgradebutton&utm_campaign=freeversion'); | |
| 86 | 74 | } |
| 87 | 75 | |
| 88 | 76 | |
| 89 | - | |
| 90 | 77 | // Plugin Documentation URL |
| 91 | 78 | if (!defined('FBOX_DOC_URL')) |
| 92 | 79 | { |
| 93 | - define('FBOX_DOC_URL', 'https://www.fireplugins.com/docs/?utm_source=product&utm_campaign=firebox-' . (FBOX_LICENSE_TYPE === 'lite' ? 'free' : 'pro') . '&utm_medium=misc&utm_content=documentation'); | |
| 80 | + define('FBOX_DOC_URL', 'https://www.fireplugins.com/docs/firebox/'); | |
| 94 | 81 | } |
| 95 | 82 | |
| 96 | 83 | // Plugin Folder Path |
| 97 | 84 | if (!defined('FBOX_PLUGIN_DIR')) |
| @@ -98,14 +85,8 @@ | ||
| 98 | 85 | { |
| 99 | 86 | define('FBOX_PLUGIN_DIR', plugin_dir_path(__FILE__)); |
| 100 | 87 | } |
| 101 | 88 | |
| 102 | -// Plugin Release Date | |
| 103 | -if (!defined('FBOX_RELEASE_DATE')) | |
| 104 | -{ | |
| 105 | - define('FBOX_RELEASE_DATE', '2026-05-21'); | |
| 106 | -} | |
| 107 | - | |
| 108 | 89 | // Layouts Folder Path |
| 109 | 90 | if (!defined('FBOX_LAYOUTS_DIR')) |
| 110 | 91 | { |
| 111 | 92 | define('FBOX_LAYOUTS_DIR', FBOX_PLUGIN_DIR . 'Inc/Core/Layouts/'); |
| @@ -198,10 +179,8 @@ | ||
| 198 | 179 | }); |
| 199 | 180 | } |
| 200 | 181 | add_action('plugins_loaded', 'firebox_init_migrator_start', -1); |
| 201 | 182 | |
| 202 | - | |
| 203 | - | |
| 204 | 183 | // Start Plugin |
| 205 | 184 | require_once dirname(__FILE__) . '/Inc/Core/Plugin.php'; |
| 206 | 185 | firebox(); |
| 207 | 186 | |
| @@ -227,5 +206,5 @@ | ||
| 227 | 206 | $message = sprintf(fpframework()->_('FPF_PHP_VERSION_FAIL'), 'FireBox', FBOX_MINIMUM_PHP_VERSION); |
| 228 | 207 | $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) ); |
| 229 | 208 | echo wp_kses_post( $html_message ); |
| 230 | 209 | } |
| 231 | -} | |
| 210 | +} | |