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/Shortcodes/Shortcodes.php +18 -18 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\Shortcodes;
@@ -94,9 +94,9 @@
94 94 global $wp;
95 95 $currentUrl = add_query_arg((isset($_SERVER['QUERY_STRING']) ? sanitize_url(wp_unslash($_SERVER['QUERY_STRING'])) : ''), '', home_url( $wp->request ) );
96 96
97 97 $show_forgot_password_link = isset($attributes['show_forgot_link']) && $attributes['show_forgot_link'];
98 - $redirect = isset($attributes['redirect']) ? esc_url_raw($attributes['redirect']) : $currentUrl;
98 + $redirect = isset($attributes['redirect']) ? $attributes['redirect'] : $currentUrl;
99 99
100 100 $args = [
101 101 'echo' => false,
102 102 'remember' => true,
@@ -165,23 +165,23 @@
165 165 );
166 166
167 167 return wp_nav_menu(
168 168 [
169 - 'menu' => sanitize_text_field($atts['menu']),
170 - 'container' => sanitize_text_field($atts['container']),
171 - 'container_class' => sanitize_html_class($atts['container_class']),
172 - 'container_id' => sanitize_html_class($atts['container_id']),
173 - 'menu_class' => sanitize_html_class($atts['menu_class']),
174 - 'menu_id' => sanitize_html_class($atts['menu_id']),
169 + 'menu' => $atts['menu'],
170 + 'container' => $atts['container'],
171 + 'container_class' => $atts['container_class'],
172 + 'container_id' => $atts['container_id'],
173 + 'menu_class' => $atts['menu_class'],
174 + 'menu_id' => $atts['menu_id'],
175 175 'echo' => false,
176 - 'fallback_cb' => sanitize_text_field($atts['fallback_cb']),
177 - 'before' => wp_kses_post($atts['before']),
178 - 'after' => wp_kses_post($atts['after']),
179 - 'link_before' => wp_kses_post($atts['link_before']),
180 - 'link_after' => wp_kses_post($atts['link_after']),
181 - 'depth' => absint($atts['depth']),
182 - 'walker' => sanitize_text_field($atts['walker']),
183 - 'theme_location' => sanitize_text_field($atts['theme_location'])
176 + 'fallback_cb' => $atts['fallback_cb'],
177 + 'before' => $atts['before'],
178 + 'after' => $atts['after'],
179 + 'link_before' => $atts['link_before'],
180 + 'link_after' => $atts['link_after'],
181 + 'depth' => $atts['depth'],
182 + 'walker' => $atts['walker'],
183 + 'theme_location' => $atts['theme_location']
184 184 ]
185 185 );
186 186 }
187 187
@@ -206,7 +206,7 @@
206 206 {
207 207 return;
208 208 }
209 209
210 - return \FireBox\Core\Helpers\Embed::renderCampaign(absint($atts['id']));
210 + return \FireBox\Core\Helpers\Embed::renderCampaign($atts['id']);
211 211 }
212 212 }