Skip to content

Commit 3469811

Browse files
committed
Release version 1.8.6
* Maintenance Update. 1 bug fix from this morning 1.8.5 major maintenance release. A small piece of new code in v 1.8.5 was written on PHP v7 and is not compatible with PHP version 5.6 If you are running v PHP 5.6 please run this update to fix it * Fix - PHP Fatal Error Call instance a3_lazy_load instead of us $this is not an object caused by incompatibility with PHP version 5.6
1 parent 5f38d3a commit 3469811

File tree

3 files changed

+33
-27
lines changed

3 files changed

+33
-27
lines changed

a3-lazy-load.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
Plugin Name: a3 Lazy Load
44
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.8.5
5+
Version: 1.8.6
66
Author: a3rev Software
77
Author URI: https://a3rev.com/
88
Requires at least: 4.0
@@ -30,7 +30,7 @@
3030
define('A3_LAZY_LOAD_IMAGES_URL', A3_LAZY_LOAD_URL . '/assets/images');
3131

3232
define( 'A3_LAZY_LOAD_KEY', 'a3_lazy_load' );
33-
define( 'A3_LAZY_VERSION', '1.8.5' );
33+
define( 'A3_LAZY_VERSION', '1.8.6' );
3434

3535
/**
3636
* Load Localisation files.

classes/class-a3-lazy-load.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ static function enqueue_scripts() {
158158

159159
wp_enqueue_script( 'jquery-lazyloadxt-extend' );
160160

161-
$this->localize_printed_scripts();
161+
$A3_Lazy_Load = A3_Lazy_Load::_instance();
162+
163+
$A3_Lazy_Load->localize_printed_scripts();
162164

163165
do_action('after_a3_lazy_load_xt_script');
164166
}

readme.txt

+28-24
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: a3rev, a3rev Software, nguyencongtuan
33
Tags: a3 lazy load, Lazy Loading , image lazy load, lazyload
44
Requires at least: 4.5
55
Tested up to: 4.9.4
6-
Stable tag: 1.8.5
6+
Stable tag: 1.8.6
77
License: GPLv3
88
License URI: http://www.gnu.org/licenses/gpl-3.0.html
99

@@ -88,7 +88,7 @@ a3 Lazy Load gives you the option to load its script from your sites HEAD or fro
8888

8989
= EXCLUDE IMAGES & VIDEO =
9090

91-
a3 Lazy Load allows you to easily exclude any image or video by class name from having the Lazy Load effect applied. [See FAQ's](https://wordpress.org/plugins/a3-lazy-load/#faqs)
91+
a3 Lazy Load allows you to easily exclude any image or video by class name from having the Lazy Load effect applied. [See FAQ's](https://wordpress.org/plugins/a3-lazy-load/#faq-header)
9292

9393
= JAVASCIPT DISABLED FALLBACK =
9494

@@ -98,7 +98,7 @@ a3 Lazy Load has built in Noscript fallback if user has JavaScript turned off in
9898

9999
a3 Lazy Load works with any WordPress theme that follows the WordPress Theme Codex. However, many Theme & Plugin developers will use a custom written function to add objects, example the theme has a home page with layout created by a custom function they have written. a3 Lazy Load cannot know what these functions are and so cannot apply to the objects loaded by that custom function.
100100

101-
If your images or objects not being Lazy Loaded in a certain section of your site, but are Lazy Loaded everywhere else you will know this is the cause. Please if this happens raise a support ticket with the developer, explaining that they just need to add a simple tag to their custom functions so that a3 Lazy Load apply to their custom function and be fully compatible. [Here is a list](https://wordpress.org/plugins/a3-lazy-load/#faqs) of a3 lazy Load filter tags to include in your ticket to make it easy for the developer.
101+
If your images or objects not being Lazy Loaded in a certain section of your site, but are Lazy Loaded everywhere else you will know this is the cause. Please if this happens raise a support ticket with the developer, explaining that they just need to add a simple tag to their custom functions so that a3 Lazy Load apply to their custom function and be fully compatible. [Here is a list](https://wordpress.org/plugins/a3-lazy-load/#faq-header) of a3 lazy Load filter tags to include in your ticket to make it easy for the developer.
102102

103103
Don't forget when a developer does add full compatibility with a3 Lazy Load please let us know via a support ticket on this forum and we will add them to the list below.
104104

@@ -127,21 +127,23 @@ These are just some of the more popular plugins that are either tested 100% comp
127127
When you download a3 lazy Load, you join our community. Regardless of if you are a WordPress newbie or experienced developer if you are interested in contributing to a3 Lazy Load development head over to the [a3 Lazy Load GitHub Repository](https://github.com/a3rev/a3-lazy-load) to find out how you can contribute.
128128
Want to add a new language to a3 Lazy Load? Great! You can contribute via [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/a3-lazy-load)
129129

130-
== FAQs ==
131130

132-
= Question =
133-
How do I exclude individual objects from Lazy Load?
131+
== Installation ==
132+
133+
= Minimum Requirements =
134+
135+
* WordPress 4.6 or greater
136+
* PHP version 5.6.0 or greater
137+
* MySQL version 5.6 or greater OR MariaDB version 10.0 or greater
134138

135-
= Answer =
139+
== Frequently Asked Questions ==
136140

137-
= Filter Tag to exclude from lazy load =
138-
Use this class name to use to exclude lazy load on individual images, videos and iframes.
139-
<code>a3-notlazy</code>
141+
= How do I exclude individual objects from Lazy Load? =
140142

141-
= Question =
142-
Why are some images, videos, objects not Lazy Loaded?
143+
Use this built in class name to exclude lazy load on individual images, videos and iframes.
144+
<code>a3-notlazy</code>
143145

144-
= Answer =
146+
= Why are some images, videos, objects not Lazy Loaded? =
145147

146148
a3 Lazy Load can only be applied to objects that are added using core WordPress functions. If your theme or a plugin developer adds objects such as images or videos via a custom written function, a3 lazy Load cannot know what that custom function is and hence cannot Lazy Load the object.
147149

@@ -155,15 +157,18 @@ Below is a list of available a3 Lazy Load filters to use and pass onto the devel
155157

156158
Apply lazy load for images in content.
157159
<code>a3_lazy_load_images</code>
158-
Example: <code>apply_filters( 'a3_lazy_load_images', $your_content, null );</code>
160+
Example:
161+
<code>apply_filters( 'a3_lazy_load_images', $your_content, null );</code>
159162

160163
Apply lazy load for videos and iframe from content.
161164
<code>a3_lazy_load_videos</code>
162-
Example <code>apply_filters( 'a3_lazy_load_videos', $your_content, null );</code>
165+
Example:
166+
<code>apply_filters( 'a3_lazy_load_videos', $your_content, null );</code>
163167

164168
Apply lazy load for all images, videos and iframe from content
165169
<code>a3_lazy_load_html</code>
166-
Example: apply_filters( 'a3_lazy_load_html', $your_content, null );
170+
Example:
171+
<code>apply_filters( 'a3_lazy_load_html', $your_content, null );</code>
167172

168173
= Filter Tags to Exclude by Theme Class name =
169174

@@ -172,14 +177,6 @@ Filter tags to add to class name of theme to exclude lazy load on images or vide
172177
<code>a3_lazy_load_skip_videos_classes</code>
173178

174179

175-
== Installation ==
176-
177-
= Minimum Requirements =
178-
179-
* WordPress 4.6 or greater
180-
* PHP version 5.6.0 or greater
181-
* MySQL version 5.6 or greater OR MariaDB version 10.0 or greater
182-
183180
== SCREENSHOTS ==
184181

185182
1. a3 lazy Load Dashboard
@@ -197,6 +194,10 @@ Filter tags to add to class name of theme to exclude lazy load on images or vide
197194

198195
== Changelog ==
199196

197+
= 1.8.6 - 2018/03/24 =
198+
* Maintenance Update. 1 bug fix from this morning 1.8.5 major maintenance release. A small piece of new code in v 1.8.5 was written on PHP v7 and is not compatible with PHP version 5.6 If you are running v PHP 5.6 please run this update to fix it
199+
* Fix - PHP Fatal Error Call instance a3_lazy_load instead of us $this is not an object caused by incompatibility with PHP version 5.6
200+
200201
= 1.8.5 - 2018/03/23 =
201202
* Maintenance Update. Refactor of Lazy Load on Widgets, Full Compatibility with the Advanced Custom Fields plugin, optimization tweaks and 3 bug fixes.
202203
* Refactor - Apply lazy load to all widgets instead of Text Widget and HTML widget from WordPress
@@ -370,6 +371,9 @@ Filter tags to add to class name of theme to exclude lazy load on images or vide
370371

371372
== Upgrade Notice ==
372373

374+
= 1.8.6 =
375+
Maintenance Update. 1 bug fix from this morning 1.8.5 major maintenance release. A small piece of new code in v 1.8.5 was written on PHP v7 and is not compatible with PHP version 5.6 If you are running v PHP 5.6 please run this update to fix it
376+
373377
= 1.8.5 =
374378
Maintenance Update. Refactor of Lazy Load on Widgets, Full Compatibility with the Advanced Custom Fields plugin, optimization tweaks and 3 bug fixes.
375379

0 commit comments

Comments
 (0)