a3 Lazy Load - Version 2.5.1

Version Description

This maintenance release fixes a critical error when updating the plugin settings

Download this release

Release Info

Developer a3rev
Plugin Icon 128x128 a3 Lazy Load
Version 2.5.1
Comparing to
See all releases

Code changes from version 2.5.0 to 2.5.1

Files changed (3) hide show
  1. a3-lazy-load.php +2 -2
  2. admin/admin-interface.php +1 -1
  3. readme.txt +8 -1
a3-lazy-load.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: a3 Lazy Load
4
  Description: Speed up your site and enhance frontend user's visual experience in PC's, Tablets and mobile with a3 Lazy Load.
5
- Version: 2.5.0
6
  Author: a3rev Software
7
  Author URI: https://a3rev.com/
8
  Requires at least: 5.6
@@ -31,7 +31,7 @@ define('A3_LAZY_LOAD_IMAGES_URL', A3_LAZY_LOAD_URL . '/assets/images');
31
 
32
  define( 'A3_LAZY_LOAD_KEY', 'a3_lazy_load' );
33
  define( 'A3_LAZY_LOAD_PREFIX', 'a3_lazy_load_' );
34
- define( 'A3_LAZY_VERSION', '2.5.0' );
35
  define( 'A3_LAZY_LOAD_G_FONTS', false );
36
 
37
  use \A3Rev\LazyLoad\FrameWork;
2
  /*
3
  Plugin Name: a3 Lazy Load
4
  Description: Speed up your site and enhance frontend user's visual experience in PC's, Tablets and mobile with a3 Lazy Load.
5
+ Version: 2.5.1
6
  Author: a3rev Software
7
  Author URI: https://a3rev.com/
8
  Requires at least: 5.6
31
 
32
  define( 'A3_LAZY_LOAD_KEY', 'a3_lazy_load' );
33
  define( 'A3_LAZY_LOAD_PREFIX', 'a3_lazy_load_' );
34
+ define( 'A3_LAZY_VERSION', '2.5.1' );
35
  define( 'A3_LAZY_LOAD_G_FONTS', false );
36
 
37
  use \A3Rev\LazyLoad\FrameWork;
admin/admin-interface.php CHANGED
@@ -908,7 +908,7 @@ class Admin_Interface extends Admin_UI
908
  if ( is_array( $_POST[ $option_name ][ $id_attribute ] ) ) {
909
  $option_value = array_map( 'sanitize_textarea_field', wp_unslash( $_POST[ $option_name ][ $id_attribute ] ) );
910
  } else {
911
- $option_value = sanitize_textarea_field( wp_unslash( _POST[ $option_name ][ $id_attribute ] ) );
912
  }
913
  } else {
914
  if ( is_array( $_POST[ $option_name ][ $id_attribute ] ) ) {
908
  if ( is_array( $_POST[ $option_name ][ $id_attribute ] ) ) {
909
  $option_value = array_map( 'sanitize_textarea_field', wp_unslash( $_POST[ $option_name ][ $id_attribute ] ) );
910
  } else {
911
+ $option_value = sanitize_textarea_field( wp_unslash( $_POST[ $option_name ][ $id_attribute ] ) );
912
  }
913
  } else {
914
  if ( is_array( $_POST[ $option_name ][ $id_attribute ] ) ) {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: a3rev, a3rev Software, nguyencongtuan
3
  Tags: a3 lazy load, Lazy Loading, image lazy load, lazyload
4
  Requires at least: 5.6
5
  Tested up to: 6.0
6
- Stable tag: 2.5.0
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -198,6 +198,10 @@ Filter tags to add to class name of theme to exclude lazy load on images or vide
198
 
199
  == Changelog ==
200
 
 
 
 
 
201
  = 2.5.0 - 2022/05/24 =
202
  * This release is for compatibility with WordPress major version 6.0 plus includes various tweaks to harden the plugins security.
203
  * Tweak - Test for compatibility with WordPress 6.0
@@ -600,6 +604,9 @@ Filter tags to add to class name of theme to exclude lazy load on images or vide
600
 
601
  == Upgrade Notice ==
602
 
 
 
 
603
  = 2.5.0 =
604
  This release is for compatibility with WordPress major version 6.0 plus includes various tweaks to harden the plugins security
605
 
3
  Tags: a3 lazy load, Lazy Loading, image lazy load, lazyload
4
  Requires at least: 5.6
5
  Tested up to: 6.0
6
+ Stable tag: 2.5.1
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
198
 
199
  == Changelog ==
200
 
201
+ = 2.5.1 - 2022/06/07 =
202
+ * This maintenance release fixes a critical error when updating the plugin settings
203
+ * Fix - Add missed $ to _POST constant from textarea control type
204
+
205
  = 2.5.0 - 2022/05/24 =
206
  * This release is for compatibility with WordPress major version 6.0 plus includes various tweaks to harden the plugins security.
207
  * Tweak - Test for compatibility with WordPress 6.0
604
 
605
  == Upgrade Notice ==
606
 
607
+ = 2.5.1 =
608
+ This maintenance release fixes a critical error when updating the plugin settings
609
+
610
  = 2.5.0 =
611
  This release is for compatibility with WordPress major version 6.0 plus includes various tweaks to harden the plugins security
612