a3 Lazy Load - Version 1.6.0

Version Description

Feature Upgrade. 1 New Feature. Now support Lazy Loading elements within content that is loaded by AJAX plus full compat with WordPress v4.4.1 and WooCommerce v2.5 - be sure to clear caches, CDNs etc

Download this release

Release Info

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

Code changes from version 1.5.2 to 1.6.0

a3-lazy-load.php CHANGED
@@ -2,11 +2,11 @@
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: 1.5.2
6
  Author: a3 Revolution
7
  Author URI: http://www.a3rev.com/
8
  Requires at least: 3.8
9
- Tested up to: 4.4
10
  License: GPLv2 or later
11
  Copyright © 2011 a3 Revolution Software Development team
12
  a3 Revolution Software Development team
@@ -17,7 +17,7 @@ License: GPLv2 or later
17
  */
18
  ?>
19
  <?php
20
- define('A3_LAZY_VERSION', '1.5.2');
21
  define('A3_LAZY_LOAD_FILE_PATH', dirname(__FILE__));
22
  define('A3_LAZY_LOAD_DIR_NAME', basename(A3_LAZY_LOAD_FILE_PATH));
23
  define('A3_LAZY_LOAD_FOLDER', dirname(plugin_basename(__FILE__)));
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: 1.6.0
6
  Author: a3 Revolution
7
  Author URI: http://www.a3rev.com/
8
  Requires at least: 3.8
9
+ Tested up to: 4.4.1
10
  License: GPLv2 or later
11
  Copyright © 2011 a3 Revolution Software Development team
12
  a3 Revolution Software Development team
17
  */
18
  ?>
19
  <?php
20
+ define('A3_LAZY_VERSION', '1.6.0');
21
  define('A3_LAZY_LOAD_FILE_PATH', dirname(__FILE__));
22
  define('A3_LAZY_LOAD_DIR_NAME', basename(A3_LAZY_LOAD_FILE_PATH));
23
  define('A3_LAZY_LOAD_FOLDER', dirname(plugin_basename(__FILE__)));
admin/a3-lazy-load-admin.php CHANGED
@@ -2,7 +2,7 @@
2
  update_option('a3rev_lazy_load_plugin', 'a3_lazy_load');
3
 
4
  function a3_lazy_load_activated(){
5
- update_option('a3_lazy_load_version', '1.5.2');
6
 
7
  // Set Settings Default from Admin Init
8
  global $a3_lazy_load_admin_init;
@@ -59,6 +59,6 @@ function a3_lazy_load_upgrade_plugin() {
59
  include( A3_LAZY_LOAD_DIR. '/includes/updates/a3-lazy-load-update-1.1.0.php' );
60
  }
61
 
62
- update_option('a3_lazy_load_version', '1.5.2');
63
  }
64
  ?>
2
  update_option('a3rev_lazy_load_plugin', 'a3_lazy_load');
3
 
4
  function a3_lazy_load_activated(){
5
+ update_option('a3_lazy_load_version', '1.6.0');
6
 
7
  // Set Settings Default from Admin Init
8
  global $a3_lazy_load_admin_init;
59
  include( A3_LAZY_LOAD_DIR. '/includes/updates/a3-lazy-load-update-1.1.0.php' );
60
  }
61
 
62
+ update_option('a3_lazy_load_version', '1.6.0');
63
  }
64
  ?>
assets/js/jquery.lazyloadxt.extend.js CHANGED
@@ -1,2 +1,17 @@
1
- jQuery.lazyLoadXT.updateEvent = 'load orientationchange resize scroll touchmove focus click';
2
- jQuery.lazyLoadXT.edgeY = a3_lazyload_extend_params.edgeY;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery.lazyLoadXT.updateEvent = 'load orientationchange resize scroll touchmove focus click customlazyloadxtevent';
2
+ jQuery.lazyLoadXT.edgeY = a3_lazyload_extend_params.edgeY;
3
+
4
+ jQuery( document ).ready( function( $ ) {
5
+ jQuery(document).on( 'mouseenter', '.site-header-cart', function() {
6
+ jQuery(document).trigger('customlazyloadxtevent');
7
+ });
8
+ jQuery(document).on( 'mouseenter', '.widget_shopping_cart', function() {
9
+ jQuery(document).trigger('customlazyloadxtevent');
10
+ });
11
+ });
12
+
13
+ jQuery(window).on('ajaxComplete', function() {
14
+ setTimeout(function() {
15
+ jQuery(window).lazyLoadXT();
16
+ }, 1000 );
17
+ });
readme.txt CHANGED
@@ -3,8 +3,8 @@
3
  Contributors: a3rev, A3 Revolution Software Development team, nguyencongtuan
4
  Tags: a3 lazy load, Lazy Loading , image lazy load, lazyload
5
  Requires at least: 4.0
6
- Tested up to: 4.4
7
- Stable tag: 1.5.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -149,6 +149,12 @@ Automatic installation is the easiest option as WordPress handles the file trans
149
 
150
  == Changelog ==
151
 
 
 
 
 
 
 
152
  = 1.5.2 - 2015/12/24 =
153
  * Tweak - Change on enqueue styles and scripts for faster load
154
  * Tweak - Register new script 'jquery-lazyloadxt-srcset' for enqueue when lazyload script is called , full support for WP 4.4 Responsive Images
@@ -251,6 +257,9 @@ Automatic installation is the easiest option as WordPress handles the file trans
251
 
252
  == Upgrade Notice ==
253
 
 
 
 
254
  = 1.5.2 =
255
  Maintenance Update. 2 code tweaks and 2 bug fixes to correct lazy load not showing WordPress v 4.4 Responsive Images in legacy and mobile browsers, should flush the cached if site have installed cache plugin
256
 
3
  Contributors: a3rev, A3 Revolution Software Development team, nguyencongtuan
4
  Tags: a3 lazy load, Lazy Loading , image lazy load, lazyload
5
  Requires at least: 4.0
6
+ Tested up to: 4.4.1
7
+ Stable tag: 1.6.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
149
 
150
  == Changelog ==
151
 
152
+ = 1.6.0 - 2016/01/22 =
153
+ * Feature - Add support for Lazy loading images, video or iframe inside content that is loaded by AJAX
154
+ * Tweak - Full support for loading Product Thumbnails within the WooCommerce cart widget
155
+ * Tweak - Tested for full compatibility with WordPress version 4.4.1
156
+ * Tweak - Tested for full compatibility with WooCommerce version 2.5
157
+
158
  = 1.5.2 - 2015/12/24 =
159
  * Tweak - Change on enqueue styles and scripts for faster load
160
  * Tweak - Register new script 'jquery-lazyloadxt-srcset' for enqueue when lazyload script is called , full support for WP 4.4 Responsive Images
257
 
258
  == Upgrade Notice ==
259
 
260
+ = 1.6.0 =
261
+ Feature Upgrade. 1 New Feature. Now support Lazy Loading elements within content that is loaded by AJAX plus full compat with WordPress v4.4.1 and WooCommerce v2.5 - be sure to clear caches, CDNs etc
262
+
263
  = 1.5.2 =
264
  Maintenance Update. 2 code tweaks and 2 bug fixes to correct lazy load not showing WordPress v 4.4 Responsive Images in legacy and mobile browsers, should flush the cached if site have installed cache plugin
265