PluginProbe
FireBox – WooCommerce Popup Builder, Exit Intent Popup, Email Optin & Cart Abandonment / 2.1.4
FireBox – WooCommerce Popup Builder, Exit Intent Popup, Email Optin & Cart Abandonment v2.1.4
3.1.13 3.1.12 3.1.11 3.1.10 3.1.9 3.1.8 3.1.7 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 All 122 releases
← All changes | Inc/Core/Controllers/Dashboard.php +4 -25 3.1.72.1.4 View file →
@@ -1,12 +1,12 @@
1 1 <?php
2 2 /**
3 3 * @package FireBox
4 - * @version 3.1.7 Free
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 11
12 12 namespace FireBox\Core\Controllers;
@@ -34,11 +34,11 @@
34 34 * @return void
35 35 */
36 36 public function addMedia()
37 37 {
38 - wp_register_script('firebox-react', FBOX_MEDIA_ADMIN_URL . 'js/vendor/react.production.min.js', [], FBOX_VERSION, true);
38 + wp_register_script('firebox-react', 'https://unpkg.com/react@18/umd/react.production.min.js', [], FBOX_VERSION, true);
39 39 wp_enqueue_script('firebox-react');
40 - wp_register_script('firebox-react-dom', FBOX_MEDIA_ADMIN_URL . 'js/vendor/react-dom.production.min.js', [], FBOX_VERSION, true);
40 + wp_register_script('firebox-react-dom', 'https://unpkg.com/react-dom@18/umd/react-dom.production.min.js', [], FBOX_VERSION, true);
41 41 wp_enqueue_script('firebox-react-dom');
42 42
43 43 // load dashboard
44 44 wp_register_script(
@@ -58,27 +58,6 @@
58 58 FPF_VERSION,
59 59 true
60 60 );
61 61 wp_enqueue_script('fpf-geoip');
62 -
63 - // Load appropriate revenue attribution bundle based on plan
64 - $this->loadRevenueAttributionBundle();
65 - }
66 -
67 - /**
68 - * Load the appropriate revenue attribution bundle based on user's plan
69 - */
70 - private function loadRevenueAttributionBundle()
71 - {
72 - $is_ra_plan = in_array(FBOX_LICENSE_PLAN, ['pro', 'growth']);
73 - $bundle_name = $is_ra_plan ? 'revenue_attribution_pro' : 'revenue_attribution_basic';
74 -
75 - wp_register_script(
76 - $bundle_name,
77 - FBOX_MEDIA_ADMIN_URL . 'js/blocks/' . $bundle_name . '.js',
78 - ['firebox-dashboard'],
79 - FBOX_VERSION,
80 - true
81 - );
82 - wp_enqueue_script($bundle_name);
83 62 }
84 63 }