PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.3.0
ShopBuilder – WooCommerce Builder For Elementor v3.3.0
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Modules/QuickView/QuickView.php +2 -2 3.2.63.3.0 View file →
@@ -69,9 +69,9 @@
69 69 wp_add_inline_style( Fns::optimized_handle( 'rtsb-frontend' ), $this->cache[ $cache_key ] );
70 70 return;
71 71 }
72 72
73 - $height = $this->options['modal_height'] ?? false;
73 + $height = ! empty( $this->options['modal_height'] ) ? absint( $this->options['modal_height'] ) : false;
74 74 $wrapper_padding = $this->options['modal_wrapper_padding'] ?? '0';
75 75 $bg_color = $this->options['modal_bg_color'] ?? false;
76 76 $box_shadow = $this->options['modal_box_shadow_color'] ?? false;
77 77 $overly_color = $this->options['modal_overly_color'] ?? false;
@@ -79,9 +79,9 @@
79 79 ob_start();
80 80
81 81 if ( $height ) { ?>
82 82 .rtsb-ui-modal .rtsb-modal-content{
83 - height: <?php echo esc_attr( $height ); ?>;
83 + height: <?php echo absint( $height ); ?>px;
84 84 }
85 85 <?php
86 86 }
87 87