Version Description
Download this release
Release Info
Developer | bjornjohansen |
Plugin | BJ Lazy Load |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
- bj-lazy-load.php +1 -1
- inc/class-bjll.php +1 -1
- readme.txt +4 -1
bj-lazy-load.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: BJ Lazy Load
|
4 |
Plugin URI: https://wordpress.org/plugins/bj-lazy-load/
|
5 |
Description: Lazy image loading makes your site load faster and saves bandwidth.
|
6 |
-
Version: 1.0.
|
7 |
Author: Bjørn Johansen
|
8 |
Author URI: http://twitter.com/bjornjohansen
|
9 |
Text Domain: bj-lazy-load
|
3 |
Plugin Name: BJ Lazy Load
|
4 |
Plugin URI: https://wordpress.org/plugins/bj-lazy-load/
|
5 |
Description: Lazy image loading makes your site load faster and saves bandwidth.
|
6 |
+
Version: 1.0.6
|
7 |
Author: Bjørn Johansen
|
8 |
Author URI: http://twitter.com/bjornjohansen
|
9 |
Text Domain: bj-lazy-load
|
inc/class-bjll.php
CHANGED
@@ -242,7 +242,7 @@ class BJLL {
|
|
242 |
$match_content = self::_get_content_haystack( $content );
|
243 |
|
244 |
$matches = array();
|
245 |
-
preg_match_all( '|<iframe\s+.*?</iframe>|
|
246 |
|
247 |
$search = array();
|
248 |
$replace = array();
|
242 |
$match_content = self::_get_content_haystack( $content );
|
243 |
|
244 |
$matches = array();
|
245 |
+
preg_match_all( '|<iframe\s+.*?</iframe>|si', $match_content, $matches );
|
246 |
|
247 |
$search = array();
|
248 |
$replace = array();
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: images, iframes, lazy loading, javascript, optimize, performance, bandwidt
|
|
5 |
Author URI: http://twitter.com/bjornjohansen
|
6 |
Requires at least: 3.5
|
7 |
Tested up to: 4.3
|
8 |
-
Stable tag: 1.0.
|
9 |
|
10 |
Lazy loading for images and iframes makes your site load faster and saves bandwidth. Uses no external JS libraries and degrades gracefully for non-js users.
|
11 |
|
@@ -62,6 +62,9 @@ Check your HTML source or see the magic at work in Web Inspector, FireBug or sim
|
|
62 |
|
63 |
== Changelog ==
|
64 |
|
|
|
|
|
|
|
65 |
= Version 1.0.5 =
|
66 |
* Added Polish language (by Maciej Gryniuk).
|
67 |
* Remove leftover console.log() from debugging -- oh, crap ... I know :-(
|
5 |
Author URI: http://twitter.com/bjornjohansen
|
6 |
Requires at least: 3.5
|
7 |
Tested up to: 4.3
|
8 |
+
Stable tag: 1.0.6
|
9 |
|
10 |
Lazy loading for images and iframes makes your site load faster and saves bandwidth. Uses no external JS libraries and degrades gracefully for non-js users.
|
11 |
|
62 |
|
63 |
== Changelog ==
|
64 |
|
65 |
+
= Version 1.0.6 =
|
66 |
+
* Fixed bug when multiple iframes was on the same line of HTML code
|
67 |
+
|
68 |
= Version 1.0.5 =
|
69 |
* Added Polish language (by Maciej Gryniuk).
|
70 |
* Remove leftover console.log() from debugging -- oh, crap ... I know :-(
|