Version Description
This maintenance release resolves a conflict with jQuery helper plugin and WordPress 5.5
Download this release
Release Info
Developer | a3rev |
Plugin | a3 Lazy Load |
Version | 2.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.4.0 to 2.4.1
- a3-lazy-load.php +3 -3
- admin/assets/js/iphone-style-checkboxes.js +0 -28
- admin/assets/js/iphone-style-checkboxes.rtl.js +0 -28
- 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.4.
|
6 |
Author: a3rev Software
|
7 |
Author URI: https://a3rev.com/
|
8 |
Requires at least: 4.9
|
@@ -10,7 +10,7 @@ Tested up to: 5.5
|
|
10 |
Text Domain: a3-lazy-load
|
11 |
Domain Path: /languages
|
12 |
WC requires at least: 2.0.0
|
13 |
-
WC tested up to: 4.
|
14 |
License: GPLv2 or later
|
15 |
Copyright © 2011 a3 Revolution Software Development team
|
16 |
a3 Revolution Software Development team
|
@@ -33,7 +33,7 @@ define('A3_LAZY_LOAD_IMAGES_URL', A3_LAZY_LOAD_URL . '/assets/images');
|
|
33 |
|
34 |
define( 'A3_LAZY_LOAD_KEY', 'a3_lazy_load' );
|
35 |
define( 'A3_LAZY_LOAD_PREFIX', 'a3_lazy_load_' );
|
36 |
-
define( 'A3_LAZY_VERSION', '2.4.
|
37 |
define( 'A3_LAZY_LOAD_G_FONTS', false );
|
38 |
|
39 |
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.4.1
|
6 |
Author: a3rev Software
|
7 |
Author URI: https://a3rev.com/
|
8 |
Requires at least: 4.9
|
10 |
Text Domain: a3-lazy-load
|
11 |
Domain Path: /languages
|
12 |
WC requires at least: 2.0.0
|
13 |
+
WC tested up to: 4.4
|
14 |
License: GPLv2 or later
|
15 |
Copyright © 2011 a3 Revolution Software Development team
|
16 |
a3 Revolution Software Development team
|
33 |
|
34 |
define( 'A3_LAZY_LOAD_KEY', 'a3_lazy_load' );
|
35 |
define( 'A3_LAZY_LOAD_PREFIX', 'a3_lazy_load_' );
|
36 |
+
define( 'A3_LAZY_VERSION', '2.4.1' );
|
37 |
define( 'A3_LAZY_LOAD_G_FONTS', false );
|
38 |
|
39 |
use \A3Rev\LazyLoad\FrameWork;
|
admin/assets/js/iphone-style-checkboxes.js
CHANGED
@@ -4,29 +4,6 @@
|
|
4 |
var iOSCheckbox, matched, userAgent,
|
5 |
__slice = [].slice;
|
6 |
|
7 |
-
if ($.browser == null) {
|
8 |
-
userAgent = navigator.userAgent || "";
|
9 |
-
jQuery.uaMatch = function(ua) {
|
10 |
-
var match;
|
11 |
-
|
12 |
-
ua = ua.toLowerCase();
|
13 |
-
match = /(chrome)[ \/]([\w.]+)/.exec(ua) || /(webkit)[ \/]([\w.]+)/.exec(ua) || /(opera)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || /(msie) ([\w.]+)/.exec(ua) || ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+))?/.exec(ua) || [];
|
14 |
-
return {
|
15 |
-
browser: match[1] || "",
|
16 |
-
version: match[2] || "0"
|
17 |
-
};
|
18 |
-
};
|
19 |
-
matched = jQuery.uaMatch(userAgent);
|
20 |
-
jQuery.browser = {};
|
21 |
-
if (matched.browser) {
|
22 |
-
jQuery.browser[matched.browser] = true;
|
23 |
-
jQuery.browser.version = matched.version;
|
24 |
-
}
|
25 |
-
if (jQuery.browser.webkit) {
|
26 |
-
jQuery.browser.safari = true;
|
27 |
-
}
|
28 |
-
}
|
29 |
-
|
30 |
iOSCheckbox = (function() {
|
31 |
function iOSCheckbox(elem, options) {
|
32 |
var key, opts, value;
|
@@ -74,9 +51,7 @@
|
|
74 |
};
|
75 |
|
76 |
iOSCheckbox.prototype.disableTextSelection = function() {
|
77 |
-
if ($.browser.msie) {
|
78 |
return $([this.handle, this.offLabel, this.onLabel, this.container]).attr("unselectable", "on");
|
79 |
-
}
|
80 |
};
|
81 |
|
82 |
iOSCheckbox.prototype._getDimension = function(elem, dimension) {
|
@@ -240,9 +215,6 @@
|
|
240 |
width: containerWidth - this.containerRadius - 16
|
241 |
});
|
242 |
offset = this.containerRadius + 1;
|
243 |
-
if ($.browser.msie && $.browser.version < 7) {
|
244 |
-
offset -= 3;
|
245 |
-
}
|
246 |
this.rightSide = containerWidth - this._getDimension(this.handle, "width") - offset;
|
247 |
leftHandle = this.rightSide;
|
248 |
if ( leftHandle == 0 ) leftHandle = -1;
|
4 |
var iOSCheckbox, matched, userAgent,
|
5 |
__slice = [].slice;
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
iOSCheckbox = (function() {
|
8 |
function iOSCheckbox(elem, options) {
|
9 |
var key, opts, value;
|
51 |
};
|
52 |
|
53 |
iOSCheckbox.prototype.disableTextSelection = function() {
|
|
|
54 |
return $([this.handle, this.offLabel, this.onLabel, this.container]).attr("unselectable", "on");
|
|
|
55 |
};
|
56 |
|
57 |
iOSCheckbox.prototype._getDimension = function(elem, dimension) {
|
215 |
width: containerWidth - this.containerRadius - 16
|
216 |
});
|
217 |
offset = this.containerRadius + 1;
|
|
|
|
|
|
|
218 |
this.rightSide = containerWidth - this._getDimension(this.handle, "width") - offset;
|
219 |
leftHandle = this.rightSide;
|
220 |
if ( leftHandle == 0 ) leftHandle = -1;
|
admin/assets/js/iphone-style-checkboxes.rtl.js
CHANGED
@@ -4,29 +4,6 @@
|
|
4 |
var iOSCheckbox, matched, userAgent,
|
5 |
__slice = [].slice;
|
6 |
|
7 |
-
if ($.browser == null) {
|
8 |
-
userAgent = navigator.userAgent || "";
|
9 |
-
jQuery.uaMatch = function(ua) {
|
10 |
-
var match;
|
11 |
-
|
12 |
-
ua = ua.toLowerCase();
|
13 |
-
match = /(chrome)[ \/]([\w.]+)/.exec(ua) || /(webkit)[ \/]([\w.]+)/.exec(ua) || /(opera)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || /(msie) ([\w.]+)/.exec(ua) || ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+))?/.exec(ua) || [];
|
14 |
-
return {
|
15 |
-
browser: match[1] || "",
|
16 |
-
version: match[2] || "0"
|
17 |
-
};
|
18 |
-
};
|
19 |
-
matched = jQuery.uaMatch(userAgent);
|
20 |
-
jQuery.browser = {};
|
21 |
-
if (matched.browser) {
|
22 |
-
jQuery.browser[matched.browser] = true;
|
23 |
-
jQuery.browser.version = matched.version;
|
24 |
-
}
|
25 |
-
if (jQuery.browser.webkit) {
|
26 |
-
jQuery.browser.safari = true;
|
27 |
-
}
|
28 |
-
}
|
29 |
-
|
30 |
iOSCheckbox = (function() {
|
31 |
function iOSCheckbox(elem, options) {
|
32 |
var key, opts, value;
|
@@ -74,9 +51,7 @@
|
|
74 |
};
|
75 |
|
76 |
iOSCheckbox.prototype.disableTextSelection = function() {
|
77 |
-
if ($.browser.msie) {
|
78 |
return $([this.handle, this.offLabel, this.onLabel, this.container]).attr("unselectable", "on");
|
79 |
-
}
|
80 |
};
|
81 |
|
82 |
iOSCheckbox.prototype._getDimension = function(elem, dimension) {
|
@@ -240,9 +215,6 @@
|
|
240 |
width: containerWidth - this.containerRadius - 16
|
241 |
});
|
242 |
offset = this.containerRadius + 1;
|
243 |
-
if ($.browser.msie && $.browser.version < 7) {
|
244 |
-
offset -= 3;
|
245 |
-
}
|
246 |
this.rightSide = containerWidth - this._getDimension(this.handle, "width") - offset;
|
247 |
leftHandle = this.rightSide;
|
248 |
if ( leftHandle == 0 ) leftHandle = -1;
|
4 |
var iOSCheckbox, matched, userAgent,
|
5 |
__slice = [].slice;
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
iOSCheckbox = (function() {
|
8 |
function iOSCheckbox(elem, options) {
|
9 |
var key, opts, value;
|
51 |
};
|
52 |
|
53 |
iOSCheckbox.prototype.disableTextSelection = function() {
|
|
|
54 |
return $([this.handle, this.offLabel, this.onLabel, this.container]).attr("unselectable", "on");
|
|
|
55 |
};
|
56 |
|
57 |
iOSCheckbox.prototype._getDimension = function(elem, dimension) {
|
215 |
width: containerWidth - this.containerRadius - 16
|
216 |
});
|
217 |
offset = this.containerRadius + 1;
|
|
|
|
|
|
|
218 |
this.rightSide = containerWidth - this._getDimension(this.handle, "width") - offset;
|
219 |
leftHandle = this.rightSide;
|
220 |
if ( leftHandle == 0 ) leftHandle = -1;
|
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: 4.9
|
5 |
Tested up to: 5.5.0
|
6 |
-
Stable tag: 2.4.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -208,6 +208,10 @@ Filter tags to add to class name of theme to exclude lazy load on images or vide
|
|
208 |
|
209 |
== Changelog ==
|
210 |
|
|
|
|
|
|
|
|
|
211 |
= 2.4.0 - 2020/08/08 =
|
212 |
* This feature release has full compatibility with WP 5.5 core image lazy loading. Just Update and a3 Lazy Load will work side-by-side with the WP core image lazy load. No settings to update and a3 lazy load will enhance it by lazy loading images the new core feature misses and on older browsers that do not support the new feature.
|
213 |
* Feature - Full compatibility with WordPress 5.5 core image lazy load feature
|
@@ -512,6 +516,9 @@ Filter tags to add to class name of theme to exclude lazy load on images or vide
|
|
512 |
|
513 |
== Upgrade Notice ==
|
514 |
|
|
|
|
|
|
|
515 |
= 2.4.0 =
|
516 |
This feature release has full compatibility with WP 5.5 core image lazy loading. Just Update and a3 Lazy Load will work side-by-side with the WP core image lazy load. No settings to update and a3 lazy load will enhance it by lazy loading images the new core feature misses and on older browsers that do not support the new feature.
|
517 |
|
3 |
Tags: a3 lazy load, Lazy Loading, image lazy load, lazyload
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 5.5.0
|
6 |
+
Stable tag: 2.4.1
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
208 |
|
209 |
== Changelog ==
|
210 |
|
211 |
+
= 2.4.1 - 2020/08/17 =
|
212 |
+
* This maintenance release resolves a conflict with jQuery helper plugin and WordPress 5.5
|
213 |
+
* Fix - Update plugin framework script, remove jQuery.browser is deprecated to resolve conflict with jQuery Migrate Helper plugin
|
214 |
+
|
215 |
= 2.4.0 - 2020/08/08 =
|
216 |
* This feature release has full compatibility with WP 5.5 core image lazy loading. Just Update and a3 Lazy Load will work side-by-side with the WP core image lazy load. No settings to update and a3 lazy load will enhance it by lazy loading images the new core feature misses and on older browsers that do not support the new feature.
|
217 |
* Feature - Full compatibility with WordPress 5.5 core image lazy load feature
|
516 |
|
517 |
== Upgrade Notice ==
|
518 |
|
519 |
+
= 2.4.1 =
|
520 |
+
This maintenance release resolves a conflict with jQuery helper plugin and WordPress 5.5
|
521 |
+
|
522 |
= 2.4.0 =
|
523 |
This feature release has full compatibility with WP 5.5 core image lazy loading. Just Update and a3 Lazy Load will work side-by-side with the WP core image lazy load. No settings to update and a3 lazy load will enhance it by lazy loading images the new core feature misses and on older browsers that do not support the new feature.
|
524 |
|