Completed
Push — master ( e21aca...50b935 )
by
unknown
13:22
created
includes/modules/wps_guided_tour/templates/backend/metabox-url.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 ?>
3 3
 <input type="hidden" class="wpeo-bubble-url-key" value="<?php echo !empty($meta['urls']) ? count($meta['urls']) : 1; ?>" />
4 4
 <ul class="wpeo-bubble-urls">
5
-  <?php if(!empty($meta['urls'])): ?>
6
-    <?php foreach($meta['urls'] as $key => $url): ?>
7
-      <?php require( wpsBubbleTemplate_ctr::get_template_part( WPS_GUIDED_DIR, WPS_GUIDED_TEMPLATES_MAIN_DIR, 'backend', 'metabox-url', 'input')); ?>
5
+  <?php if (!empty($meta['urls'])): ?>
6
+    <?php foreach ($meta['urls'] as $key => $url): ?>
7
+      <?php require(wpsBubbleTemplate_ctr::get_template_part(WPS_GUIDED_DIR, WPS_GUIDED_TEMPLATES_MAIN_DIR, 'backend', 'metabox-url', 'input')); ?>
8 8
     <?php endforeach; ?>
9 9
   <?php else: ?>
10 10
     <?php $key = 0; $url = array('paramater' => '', 'value' => ''); ?>
11
-    <?php require( wpsBubbleTemplate_ctr::get_template_part( WPS_GUIDED_DIR, WPS_GUIDED_TEMPLATES_MAIN_DIR, 'backend', 'metabox-url', 'input')); ?>
11
+    <?php require(wpsBubbleTemplate_ctr::get_template_part(WPS_GUIDED_DIR, WPS_GUIDED_TEMPLATES_MAIN_DIR, 'backend', 'metabox-url', 'input')); ?>
12 12
   <?php endif; ?>
13 13
 </ul>
14 14
 <span class="dashicons dashicons-plus-alt wpeo-bubble-add-url"></span>
Please login to merge, or discard this patch.
Braces   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@  discard block
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 ?>
3 5
 <input type="hidden" class="wpeo-bubble-url-key" value="<?php echo !empty($meta['urls']) ? count($meta['urls']) : 1; ?>" />
4 6
 <ul class="wpeo-bubble-urls">
@@ -6,8 +8,11 @@  discard block
 block discarded – undo
6 8
     <?php foreach($meta['urls'] as $key => $url): ?>
7 9
       <?php require( wpsBubbleTemplate_ctr::get_template_part( WPS_GUIDED_DIR, WPS_GUIDED_TEMPLATES_MAIN_DIR, 'backend', 'metabox-url', 'input')); ?>
8 10
     <?php endforeach; ?>
9
-  <?php else: ?>
10
-    <?php $key = 0; $url = array('paramater' => '', 'value' => ''); ?>
11
+  <?php else {
12
+	: ?>
13
+    <?php $key = 0;
14
+}
15
+$url = array('paramater' => '', 'value' => ''); ?>
11 16
     <?php require( wpsBubbleTemplate_ctr::get_template_part( WPS_GUIDED_DIR, WPS_GUIDED_TEMPLATES_MAIN_DIR, 'backend', 'metabox-url', 'input')); ?>
12 17
   <?php endif; ?>
13 18
 </ul>
Please login to merge, or discard this patch.
modules/wps_guided_tour/assets/data/default-data-guided-tour-string.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit; 
1
+<?php if (!defined('ABSPATH')) exit; 
2 2
 /** Create a new product */
3 3
 __('Create a new product', $this->name_i18n);
4 4
 __('As a Wordpress page or article, you must:
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit; 
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 /** Create a new product */
3 5
 __('Create a new product', $this->name_i18n);
4 6
 __('As a Wordpress page or article, you must:
Please login to merge, or discard this patch.
modules/wps_media_manager/templates/frontend/associated-document.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
2
- if ( $document_number >= 1 ) : ?>
3
-	<h2><?php _e( 'Associated document', 'wpshop' ); ?></h2>
4
-	<?php echo self::display_attachment_gallery( 'document', $product_document_galery_content ); ?>
1
+<?php if (!defined('ABSPATH')) exit;
2
+ if ($document_number >= 1) : ?>
3
+	<h2><?php _e('Associated document', 'wpshop'); ?></h2>
4
+	<?php echo self::display_attachment_gallery('document', $product_document_galery_content); ?>
5 5
 <?php endif; ?>
6 6
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
  if ( $document_number >= 1 ) : ?>
3 5
 	<h2><?php _e( 'Associated document', 'wpshop' ); ?></h2>
4 6
 	<?php echo self::display_attachment_gallery( 'document', $product_document_galery_content ); ?>
Please login to merge, or discard this patch.
includes/modules/wps_media_manager/templates/backend/meta_box.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 ?>
3 5
 <a href="#" class="wps-bton-mini-first-rounded" id="upload_wps_product_media"><?php _e( 'Download media', 'wpshop'); ?></a>
4 6
 <input type="hidden" value="post" name="product_media_form" />
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 ?>
3
-<a href="#" class="wps-bton-mini-first-rounded" id="upload_wps_product_media"><?php _e( 'Download media', 'wpshop'); ?></a>
3
+<a href="#" class="wps-bton-mini-first-rounded" id="upload_wps_product_media"><?php _e('Download media', 'wpshop'); ?></a>
4 4
 <input type="hidden" value="post" name="product_media_form" />
5 5
 <input type="hidden" value="<?php echo $media_id_data; ?>" name="product_media" id="product_media_indicator" />
6
-<div id="selected_media_container" data-nonce="<?php echo wp_create_nonce( 'wp_ajax_display_pictures_in_backend' ); ?>"><?php echo $media; ?></div>
6
+<div id="selected_media_container" data-nonce="<?php echo wp_create_nonce('wp_ajax_display_pictures_in_backend'); ?>"><?php echo $media; ?></div>
Please login to merge, or discard this patch.
includes/modules/wps_media_manager/templates/backend/media_list.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 ?>
3 3
 <ul id="product_media_list">
4
-<?php if( $media_id ) : ?>
5
-	<?php foreach( $media_id as $id ) : ?>
6
-		<?php if( !empty($id) ) : ?>
4
+<?php if ($media_id) : ?>
5
+	<?php foreach ($media_id as $id) : ?>
6
+		<?php if (!empty($id)) : ?>
7 7
 			<li id="media_<?php echo $id; ?>" class="attachment">
8 8
 				<div id="attachment-preview-border" class="attachment-preview">
9 9
 					<div class="thumbnail">
10
-						<?php if( wp_attachment_is_image( $id ) ) { ?>
10
+						<?php if (wp_attachment_is_image($id)) { ?>
11 11
 							<div class="centered">
12
-								<?php echo wp_get_attachment_image( $id ); ?>
12
+								<?php echo wp_get_attachment_image($id); ?>
13 13
 							</div>
14 14
 							<?php } else { ?>
15 15
 							<div class="centered">
16
-								<?php echo wp_get_attachment_image( $id, 'thumbnail', 1 ); ?>
16
+								<?php echo wp_get_attachment_image($id, 'thumbnail', 1); ?>
17 17
 							</div>
18 18
 							<div class="filename">
19
-								<div><?php echo basename(get_attached_file( $id )); ?></div>
19
+								<div><?php echo basename(get_attached_file($id)); ?></div>
20 20
 							</div>
21 21
 						<?php } ?>
22 22
 					</div>
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 ?>
3 5
 <ul id="product_media_list">
4 6
 <?php if( $media_id ) : ?>
Please login to merge, or discard this patch.
includes/modules/wps_media_manager/wps_media_manager.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 
3 3
 DEFINE('WPS_MEDIA_MANAGER_DIR', basename(dirname(__FILE__)));
4
-DEFINE('WPS_MEDIA_MANAGER_PATH', str_replace( "\\", "/", str_replace( WPS_MEDIA_MANAGER_DIR, "", dirname( __FILE__ ) ) ) );
5
-DEFINE('WPS_MEDIA_MANAGER_URL', str_replace( str_replace( "\\", "/", ABSPATH), site_url() . '/', WPS_MEDIA_MANAGER_PATH ) );
4
+DEFINE('WPS_MEDIA_MANAGER_PATH', str_replace("\\", "/", str_replace(WPS_MEDIA_MANAGER_DIR, "", dirname(__FILE__))));
5
+DEFINE('WPS_MEDIA_MANAGER_URL', str_replace(str_replace("\\", "/", ABSPATH), site_url() . '/', WPS_MEDIA_MANAGER_PATH));
6 6
 
7 7
 DEFINE('WPS_MEDIA_MANAGER_TEMPLATE_DIR', WPS_MEDIA_MANAGER_PATH . WPS_MEDIA_MANAGER_DIR . "/templates/");
8 8
 
9
-load_plugin_textdomain( 'wps_media_manager', false, basename(dirname(__FILE__)).'/languages/');
9
+load_plugin_textdomain('wps_media_manager', false, basename(dirname(__FILE__)) . '/languages/');
10 10
 
11
-include( plugin_dir_path( __FILE__ ).'/controller/wps_media_manager_backend_ctr.php' );
12
-include( plugin_dir_path( __FILE__ ).'/controller/wps_media_manager_frontend_ctr.php' );
11
+include(plugin_dir_path(__FILE__) . '/controller/wps_media_manager_backend_ctr.php');
12
+include(plugin_dir_path(__FILE__) . '/controller/wps_media_manager_frontend_ctr.php');
13 13
 
14 14
 new wps_media_manager_backend_ctr();
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 
3 5
 DEFINE('WPS_MEDIA_MANAGER_DIR', basename(dirname(__FILE__)));
4 6
 DEFINE('WPS_MEDIA_MANAGER_PATH', str_replace( "\\", "/", str_replace( WPS_MEDIA_MANAGER_DIR, "", dirname( __FILE__ ) ) ) );
Please login to merge, or discard this patch.
includes/modules/wps_cart/templates/frontend/mini-cart/mini-cart.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 ?>
3 3
 <div class="wps-header-mini-cart wps-cart-activator">
4 4
 	<div class="wps-mini-cart-header">
5
-		<a href="<?php echo get_permalink( wpshop_tools::get_page_id( get_option('wpshop_checkout_page_id ') ) ); ?>" class="wps-mini-cart-opener">
6
-			<?php _e( 'My cart', 'wpshop' ); ?>
5
+		<a href="<?php echo get_permalink(wpshop_tools::get_page_id(get_option('wpshop_checkout_page_id '))); ?>" class="wps-mini-cart-opener">
6
+			<?php _e('My cart', 'wpshop'); ?>
7 7
 			<i class="wps-icon-basket"></i>
8 8
 			<?php echo do_shortcode('[wps-numeration-cart]'); ?>
9 9
 		</a>
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 ?>
3 5
 <div class="wps-header-mini-cart wps-cart-activator">
4 6
 	<div class="wps-mini-cart-header">
Please login to merge, or discard this patch.
modules/wps_cart/templates/frontend/mini-cart/mini-cart-content.php 2 patches
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@  discard block
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 ?>
3 5
 <span class="wps-mini-cart-body-title">
4 6
 <strong><?php echo $total_cart_item; ?></strong><?php _e( 'item(s)', 'wpshop'); ?><span><strong><?php echo number_format( $total_cart, 2, '.', ''); ?></strong><?php echo $currency; ?></span>
@@ -12,8 +14,7 @@  discard block
 block discarded – undo
12 14
 				$parent_post = $parent_def['parent_post'];
13 15
 				$item_id = $parent_post->ID;
14 16
 				$item_title =  $parent_post->post_title;
15
-			}
16
-			else {
17
+			} else {
17 18
 				$item_title = $item['item_name'];
18 19
 			}
19 20
 			?>
Please login to merge, or discard this patch.
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@  discard block
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 ?>
3 3
 <span class="wps-mini-cart-body-title">
4
-<strong><?php echo $total_cart_item; ?></strong><?php _e( 'item(s)', 'wpshop'); ?><span><strong><?php echo number_format( $total_cart, 2, '.', ''); ?></strong><?php echo $currency; ?></span>
4
+<strong><?php echo $total_cart_item; ?></strong><?php _e('item(s)', 'wpshop'); ?><span><strong><?php echo number_format($total_cart, 2, '.', ''); ?></strong><?php echo $currency; ?></span>
5 5
 </span>
6 6
 <div class="wps-cart-resume">
7 7
 	<ul class="wps-fullcart">
8
-		<?php foreach( $cart_items as $item_id => $item ) :
9
-			$item_post_type = get_post_type( $item_id );
10
-			if ( $item_post_type == WPSHOP_NEWTYPE_IDENTIFIER_PRODUCT_VARIATION ) {
11
-				$parent_def = wpshop_products::get_parent_variation( $item_id );
8
+		<?php foreach ($cart_items as $item_id => $item) :
9
+			$item_post_type = get_post_type($item_id);
10
+			if ($item_post_type == WPSHOP_NEWTYPE_IDENTIFIER_PRODUCT_VARIATION) {
11
+				$parent_def = wpshop_products::get_parent_variation($item_id);
12 12
 				$parent_post = $parent_def['parent_post'];
13 13
 				$item_id = $parent_post->ID;
14
-				$item_title =  $parent_post->post_title;
14
+				$item_title = $parent_post->post_title;
15 15
 			}
16 16
 			else {
17 17
 				$item_title = $item['item_name'];
@@ -19,30 +19,30 @@  discard block
 block discarded – undo
19 19
 			?>
20 20
 			<li class="wps-clearfix" id="wps_min_cart_product_<?php echo $item['item_id']; ?>">
21 21
 				<div class="wps-cart-item-img">
22
-					<a href="<?php echo get_permalink( $item_id ); ?>" title="<?php echo $item_title; ?>">
23
-						<?php echo get_the_post_thumbnail( $item_id, 'thumbnail', array('class' => 'wps-circlerounded') ); ?>
22
+					<a href="<?php echo get_permalink($item_id); ?>" title="<?php echo $item_title; ?>">
23
+						<?php echo get_the_post_thumbnail($item_id, 'thumbnail', array('class' => 'wps-circlerounded')); ?>
24 24
 					</a>
25 25
 				</div>
26 26
 				<div class="wps-cart-item-content">
27
-					<a href="<?php echo get_permalink( $item_id ); ?>" title="<?php echo $item_title; ?>">
27
+					<a href="<?php echo get_permalink($item_id); ?>" title="<?php echo $item_title; ?>">
28 28
 						<?php echo $item_title; ?>
29 29
 					</a>
30 30
 				</div>
31 31
 				<div class="wps-cart-item-price">
32
-			    	<span class="wps-price"><?php echo wpshop_tools::formate_number( $item['item_total_ttc'] ); ?> <span><?php echo $currency; ?></span></span>
33
-			    	<span class="wps-tva"><?php _e( 'ATI', 'wpshop'); ?></span><br>
32
+			    	<span class="wps-price"><?php echo wpshop_tools::formate_number($item['item_total_ttc']); ?> <span><?php echo $currency; ?></span></span>
33
+			    	<span class="wps-tva"><?php _e('ATI', 'wpshop'); ?></span><br>
34 34
 				</div>
35 35
 				<div class="wps-cart-item-close">
36
-					<button type="button" class="wps-bton-icon-close wps_mini_cart_delete_product" data-nonce="<?php echo wp_create_nonce( 'ajax_wpshop_set_qty_for_product_into_cart' ); ?>"></button>
36
+					<button type="button" class="wps-bton-icon-close wps_mini_cart_delete_product" data-nonce="<?php echo wp_create_nonce('ajax_wpshop_set_qty_for_product_into_cart'); ?>"></button>
37 37
 				</div>
38 38
 			</li>
39 39
 		<?php endforeach; ?>
40 40
 	</ul>
41
-	<p><?php _e( 'Shipping cost ATI', 'wpshop'); ?><span class="wps-alignRight"><strong><?php echo wpshop_tools::formate_number( $shipping_cost_ati ); ?></strong><?php echo $currency; ?></span></p>
42
-	<?php if ( !empty( $cart_content['coupon_id']) ) : ?>
43
-		<p><?php _e( 'Total ATI before discount', 'wpshop'); ?><span class="wps-alignRight"><strong><?php echo wpshop_tools::formate_number( $order_total_before_discount ); ?></strong><?php echo $currency; ?></span></p>
44
-		<p><?php _e( 'Discount', 'wpshop'); ?><span class="wps-inline-alignRight"><strong><?php echo wpshop_tools::formate_number( $coupon_value ); ?></strong><?php echo $currency; ?></span></p>
41
+	<p><?php _e('Shipping cost ATI', 'wpshop'); ?><span class="wps-alignRight"><strong><?php echo wpshop_tools::formate_number($shipping_cost_ati); ?></strong><?php echo $currency; ?></span></p>
42
+	<?php if (!empty($cart_content['coupon_id'])) : ?>
43
+		<p><?php _e('Total ATI before discount', 'wpshop'); ?><span class="wps-alignRight"><strong><?php echo wpshop_tools::formate_number($order_total_before_discount); ?></strong><?php echo $currency; ?></span></p>
44
+		<p><?php _e('Discount', 'wpshop'); ?><span class="wps-inline-alignRight"><strong><?php echo wpshop_tools::formate_number($coupon_value); ?></strong><?php echo $currency; ?></span></p>
45 45
 	<?php endif; ?>
46
-	<p class="wps-hightlight"><?php _e( 'Total ATI', 'wpshop'); ?><span class="wps-inline-alignRight"><strong><?php echo wpshop_tools::formate_number( $total_ati ); ?></strong><?php echo $currency; ?></span></p>
47
-	<a href="<?php echo get_permalink( wpshop_tools::get_page_id( get_option('wpshop_checkout_page_id') ) ); ?>" role="button" class="wps-bton-first"><?php _e( 'Order', 'wpshop' ); ?></a>
46
+	<p class="wps-hightlight"><?php _e('Total ATI', 'wpshop'); ?><span class="wps-inline-alignRight"><strong><?php echo wpshop_tools::formate_number($total_ati); ?></strong><?php echo $currency; ?></span></p>
47
+	<a href="<?php echo get_permalink(wpshop_tools::get_page_id(get_option('wpshop_checkout_page_id'))); ?>" role="button" class="wps-bton-first"><?php _e('Order', 'wpshop'); ?></a>
48 48
 </div>
Please login to merge, or discard this patch.
includes/modules/wps_cart/templates/frontend/mini-cart/fixed-mini-cart.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if ( !defined( 'ABSPATH' ) ) {
2
+	exit;
3
+}
2 4
 ?>
3 5
 <div class="wps-fixed-tool-bar wps-cart-activator">
4 6
 	<div class="wps-mini-cart wps-cart-resume">
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1
-<?php if ( !defined( 'ABSPATH' ) ) exit;
1
+<?php if (!defined('ABSPATH')) exit;
2 2
 ?>
3 3
 <div class="wps-fixed-tool-bar wps-cart-activator">
4 4
 	<div class="wps-mini-cart wps-cart-resume">
5 5
 		<div class="wps-mini-cart-header">
6
-			<span class="wps-h1"><?php _e( 'My cart', 'wpshop'); ?></span>
6
+			<span class="wps-h1"><?php _e('My cart', 'wpshop'); ?></span>
7 7
 				<span href="#" class="wps-mini-cart-opener wps-mini-cart-bton">
8 8
 				<span><button type="button" class="wps-bton-icon-fullrounded wpsjq-closeFixedCart"><i class="wps-icon-close"></i></button></span>
9 9
 			</span>
10 10
 		</div>
11
-		<div data-nonce="<?php echo wp_create_nonce( 'wps_reload_mini_cart' ); ?>" class="wps-mini-cart-body wps-fixed-cart-container wps-bloc-loader">
11
+		<div data-nonce="<?php echo wp_create_nonce('wps_reload_mini_cart'); ?>" class="wps-mini-cart-body wps-fixed-cart-container wps-bloc-loader">
12 12
 			<?php echo $mini_cart_body; ?>
13 13
 		</div>
14 14
 		<div class="wps-cls"></div>
Please login to merge, or discard this patch.