PluginProbe
FireBox – WooCommerce Popup Builder, Exit Intent Popup, Email Optin & Cart Abandonment / 2.1.37
FireBox – WooCommerce Popup Builder, Exit Intent Popup, Email Optin & Cart Abandonment v2.1.37
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/AdminBarMenu.php +6 -4 trunk2.1.37 View file →
@@ -1,12 +1,12 @@
1 1 <?php
2 2 /**
3 3 * @package FireBox
4 - * @version 3.1.13 Free
4 + * @version 2.1.37 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 © 2025 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;
@@ -66,9 +66,11 @@
66 66 * @return boolean
67 67 */
68 68 public function canRun()
69 69 {
70 - if (is_user_logged_in() && current_user_can('read_fireboxes') && !get_option('hide-admin-bar', false))
70 + if (is_user_logged_in() &&
71 + current_user_can('manage_options') &&
72 + !get_option('hide-admin-bar', false))
71 73 {
72 74 return true;
73 75 }
74 76
@@ -236,9 +238,9 @@
236 238 [
237 239 'parent' => 'firebox-menu',
238 240 'id' => 'firebox-menu-upgrade',
239 241 'title' => fpframework()->_('FPF_UPGRADE_TO_PRO'),
240 - 'href' => sprintf(FBOX_GO_PRO_URL, 'pro'),
242 + 'href' => FBOX_GO_PRO_URL,
241 243 'meta' => [
242 244 'class' => 'firebox-go-pro-yellow-link'
243 245 ]
244 246 ]