PluginProbe
FireBox – WooCommerce Popup Builder, Exit Intent Popup, Email Optin & Cart Abandonment / 2.1.14
FireBox – WooCommerce Popup Builder, Exit Intent Popup, Email Optin & Cart Abandonment v2.1.14
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 +8 -6 3.1.102.1.14 View file →
@@ -1,12 +1,12 @@
1 1 <?php
2 2 /**
3 3 * @package FireBox
4 - * @version 3.1.10 Free
4 + * @version 2.1.14 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;
@@ -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
@@ -115,9 +117,9 @@
115 117 * @return void
116 118 */
117 119 public function main_menu($wp_admin_bar)
118 120 {
119 - $logo = '<img src="' . FBOX_MEDIA_ADMIN_URL . 'images/logo_white.svg' . '" width="22" height="22" alt="firebox logo" />';
121 + $logo = '<img src="' . FBOX_MEDIA_ADMIN_URL . 'images/logo_white.svg' . '" alt="firebox logo" />';
120 122
121 123 $wp_admin_bar->add_menu(
122 124 [
123 125 'id' => 'firebox-menu',
@@ -178,9 +180,9 @@
178 180 [
179 181 'parent' => 'firebox-menu',
180 182 'id' => 'firebox-menu-support',
181 183 'title' => fpframework()->_('FPF_SUPPORT'),
182 - 'href' => \FPFramework\Base\Functions::getUTMURL(FPF_SUPPORT_URL . '?topic=Pre-sale Question', null, 'misc', 'contact')
184 + 'href' => FPF_SUPPORT_URL
183 185 ]
184 186 );
185 187 }
186 188
@@ -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 ]