WP Image Zoom - Version 1.50

Version Description

  • 04/01/2022
  • Feature: support mikado themes, which add a wrapper on top of the page
  • Fix: change the FILTER_SANITIZE_STRING filter, deprecated in PHP 8.1
Download this release

Release Info

Developer diana_burduja
Plugin Icon 128x128 WP Image Zoom
Version 1.50
Comparing to
See all releases

Code changes from version 1.49 to 1.50

image-zoooom.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP Image Zoom
4
  * Plugin URI: https://wordpress.org/plugins/wp-image-zoooom/
5
  * Description: Add zoom effect over the an image, whether it is an image in a post/page or the featured image of a product in a WooCommerce shop
6
- * Version: 1.49
7
  * Author: SilkyPress
8
  * Author URI: https://www.silkypress.com
9
  * License: GPL2
@@ -12,7 +12,7 @@
12
  * Domain Path: /languages/
13
  *
14
  * WC requires at least: 3.0.0
15
- * WC tested up to: 5.9
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
@@ -26,7 +26,7 @@ if ( ! class_exists( 'ImageZoooom' ) ) :
26
  * @class ImageZoooom
27
  */
28
  final class ImageZoooom {
29
- public $version = '1.49';
30
  public $theme = '';
31
  protected static $_instance = null;
32
 
3
  * Plugin Name: WP Image Zoom
4
  * Plugin URI: https://wordpress.org/plugins/wp-image-zoooom/
5
  * Description: Add zoom effect over the an image, whether it is an image in a post/page or the featured image of a product in a WooCommerce shop
6
+ * Version: 1.50
7
  * Author: SilkyPress
8
  * Author URI: https://www.silkypress.com
9
  * License: GPL2
12
  * Domain Path: /languages/
13
  *
14
  * WC requires at least: 3.0.0
15
+ * WC tested up to: 6.6
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
26
  * @class ImageZoooom
27
  */
28
  final class ImageZoooom {
29
+ public $version = '1.50';
30
  public $theme = '';
31
  protected static $_instance = null;
32
 
includes/class-iz-compatibilities.php CHANGED
@@ -75,7 +75,7 @@ class IZ_Compatibilities {
75
  ),
76
  array(
77
  'rule' => '.mkdf-wrapper {z-index: 20 !important; }',
78
- 'themes' => array( 'chillnews', 'deploy', 'piquant', 'optimizewp', 'wellspring', 'siennawp', 'hashmag', 'voyagewp', 'gotravel', 'verdict', 'mediclinic', 'iacademy', 'newsflash', 'evently', 'cortex', 'roam', 'lumiere', 'aviana', 'zuhaus', 'staffscout', 'kastell', 'fivestar', 'janeandmark', 'neva', 'klippe', 'rosebud', 'endurer', 'wanderers', 'anwalt', 'equine', 'verdure', 'brewski', 'curly', 'fiorello', 'bardwp', 'lilo', 'gluck', 'dotwork', 'eola', 'cocco', 'housemed', 'ande', 'foton', 'overton', 'kanna', 'attika', 'backpacktraveller' ),
79
  ),
80
  array(
81
  'rule' => '.mkd-wrapper {z-index: 20 !important; }',
75
  ),
76
  array(
77
  'rule' => '.mkdf-wrapper {z-index: 20 !important; }',
78
+ 'themes' => array( 'chillnews', 'deploy', 'piquant', 'optimizewp', 'wellspring', 'siennawp', 'hashmag', 'voyagewp', 'gotravel', 'verdict', 'mediclinic', 'iacademy', 'newsflash', 'evently', 'cortex', 'roam', 'lumiere', 'aviana', 'zuhaus', 'staffscout', 'kastell', 'fivestar', 'janeandmark', 'neva', 'klippe', 'rosebud', 'endurer', 'wanderers', 'anwalt', 'equine', 'verdure', 'brewski', 'curly', 'fiorello', 'bardwp', 'lilo', 'gluck', 'dotwork', 'eola', 'cocco', 'housemed', 'ande', 'foton', 'overton', 'kanna', 'attika', 'backpacktraveller', 'justicia', 'humme', 'mael', 'quart', 'dolcino', 'boostup', 'innovio', 'holmes', 'arabesque', 'wilmer', 'agava', 'thelma', 'dor', 'oaza', 'buzzy', 'votestart', 'panaderia', 'everlead', 'powerlift', 'pawfriends', 'biagiotti', 'livewell', 'chapterone', 'grandprix', 'sunnyorchard', 'wanderland' ),
79
  ),
80
  array(
81
  'rule' => '.mkd-wrapper {z-index: 20 !important; }',
includes/frm/class-form-fields.php CHANGED
@@ -134,7 +134,7 @@ if ( ! class_exists( '\SilkyPressFrm\Form_Fields' ) ) {
134
 
135
  $atts .= ( isset( $_field['disabled'] ) && $_field['disabled'] ) ? ' disabled' : '';
136
 
137
- $atts .= ( 'checkbox' === $_field['input_form'] && true === (bool) $_field['value'] ) ? ' checked="checked"' : '';
138
 
139
  // Radio templates.
140
  if ( 'radio' === $_field['input_form'] ) {
@@ -264,7 +264,7 @@ if ( ! class_exists( '\SilkyPressFrm\Form_Fields' ) ) {
264
 
265
  // Sanitize text inputs.
266
  if ( 'input_text' === $settings['input_form'] ) {
267
- $post[ $_key ] = isset( $post[ $_key ] ) ? filter_var( sanitize_text_field( $post[ $_key ] ), FILTER_SANITIZE_STRING ) : (string) $settings['value'];
268
  }
269
 
270
  // Validate button and radio inputs.
134
 
135
  $atts .= ( isset( $_field['disabled'] ) && $_field['disabled'] ) ? ' disabled' : '';
136
 
137
+ $atts .= ( 'checkbox' === $_field['input_form'] && true === (bool) $_field['value'] && ! $_field['disabled'] ) ? ' checked="checked"' : '';
138
 
139
  // Radio templates.
140
  if ( 'radio' === $_field['input_form'] ) {
264
 
265
  // Sanitize text inputs.
266
  if ( 'input_text' === $settings['input_form'] ) {
267
+ $post[ $_key ] = isset( $post[ $_key ] ) ? sanitize_text_field( wp_unslash( $post[ $_key ] ) ) : (string) $settings['value'];
268
  }
269
 
270
  // Validate button and radio inputs.
readme.txt CHANGED
@@ -4,8 +4,8 @@ Contributors: diana_burduja
4
  Email: diana@burduja.eu
5
  Tags: e-commerce, featured image, hover over image zoom, image, image zoom, image zoom plugin, image magnification, image magnifier, jquery picture zoom, magnifier, magnify image, magnifying glass, mouse over image zoom, panorama, picture zoom, product image, product zoom, product magnification, product magnifier, responsive, woocommerce product zoom, woocommerce zoom, woocommerce magnifying glass, zoom, zoom image, zoom plugin, woocommerce image zoom, woocommerce product image zoom, woocommerce zoom magnifier
6
  Requires at least: 3.0.1
7
- Tested up to: 5.9
8
- Stable tag: 1.49
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Requires PHP: 5.2.4
@@ -155,6 +155,11 @@ Alternatively you can upgrade to the Pro version, as there the zoom lens is buil
155
 
156
  == Changelog ==
157
 
 
 
 
 
 
158
  = 1.49 =
159
  * 11/02/2021
160
  * Fix: remove the "wc-product-gallery-slider" theme support for themes without a slider
@@ -162,7 +167,7 @@ Alternatively you can upgrade to the Pro version, as there the zoom lens is buil
162
 
163
  = 1.48 =
164
  * 10/14/2021
165
- * Feature: support select-themes.com which add a wrapper on top of the page
166
  * Fix: the zoom was making it hard to select the image element in Beaver and Brizy page builders
167
  * Fix: the zoom couldn't be applied with the Classic Editor if the Storefront theme was enabled
168
 
4
  Email: diana@burduja.eu
5
  Tags: e-commerce, featured image, hover over image zoom, image, image zoom, image zoom plugin, image magnification, image magnifier, jquery picture zoom, magnifier, magnify image, magnifying glass, mouse over image zoom, panorama, picture zoom, product image, product zoom, product magnification, product magnifier, responsive, woocommerce product zoom, woocommerce zoom, woocommerce magnifying glass, zoom, zoom image, zoom plugin, woocommerce image zoom, woocommerce product image zoom, woocommerce zoom magnifier
6
  Requires at least: 3.0.1
7
+ Tested up to: 6.0
8
+ Stable tag: 1.50
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Requires PHP: 5.2.4
155
 
156
  == Changelog ==
157
 
158
+ = 1.50 =
159
+ * 04/01/2022
160
+ * Feature: support mikado themes, which add a wrapper on top of the page
161
+ * Fix: change the FILTER_SANITIZE_STRING filter, deprecated in PHP 8.1
162
+
163
  = 1.49 =
164
  * 11/02/2021
165
  * Fix: remove the "wc-product-gallery-slider" theme support for themes without a slider
167
 
168
  = 1.48 =
169
  * 10/14/2021
170
+ * Feature: support select-themes.com themes, which add a wrapper on top of the page
171
  * Fix: the zoom was making it hard to select the image element in Beaver and Brizy page builders
172
  * Fix: the zoom couldn't be applied with the Classic Editor if the Storefront theme was enabled
173