Lazy Load by WP Rocket - Version 2.0.3.1

Version Description

  • Bugfix: Correct an issue preventing lazyload from working
Download this release

Release Info

Developer wp_media
Plugin Icon 128x128 Lazy Load by WP Rocket
Version 2.0.3.1
Comparing to
See all releases

Code changes from version 2.0.3 to 2.0.3.1

readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: lazyload, lazy load, images, iframes, thumbnail, thumbnails, smiley, smili
4
  Requires at least: 4.7
5
  Tested up to: 5.0.2
6
  Requires PHP: 5.4
7
- Stable tag: 2.0.3
8
 
9
  Lazy Load your images and iframes, replace Youtube videos by a preview thumbnail.
10
 
@@ -78,6 +78,9 @@ The element you want to apply lazyload on must have this specific markup:
78
  The element must have the class `rocket-lazyload-bg`, and a `data-bg` attribute, which value is the CSS url for the image.
79
 
80
  == Changelog ==
 
 
 
81
  = 2.0.3 =
82
  * Bugfix: Prevent incorrect display if JavaScript is disabled
83
  * Bugfix: Don't apply lazyload on Divi/Extra/Beaver Builder Editor pages
4
  Requires at least: 4.7
5
  Tested up to: 5.0.2
6
  Requires PHP: 5.4
7
+ Stable tag: 2.0.3.1
8
 
9
  Lazy Load your images and iframes, replace Youtube videos by a preview thumbnail.
10
 
78
  The element must have the class `rocket-lazyload-bg`, and a `data-bg` attribute, which value is the CSS url for the image.
79
 
80
  == Changelog ==
81
+ = 2.0.3.1 =
82
+ * Bugfix: Correct an issue preventing lazyload from working
83
+
84
  = 2.0.3 =
85
  * Bugfix: Prevent incorrect display if JavaScript is disabled
86
  * Bugfix: Don't apply lazyload on Divi/Extra/Beaver Builder Editor pages
rocket-lazy-load.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Lazy Load by WP Rocket
4
  * Plugin URI: http://wordpress.org/plugins/rocket-lazy-load/
5
  * Description: The tiny Lazy Load script for WordPress without jQuery or others libraries.
6
- * Version: 2.0.3
7
  * Author: WP Media
8
  * Author URI: https://wp-rocket.me
9
  * Text Domain: rocket-lazy-load
@@ -27,7 +27,7 @@
27
 
28
  defined('ABSPATH') || die('Cheatin\' uh?');
29
 
30
- define('ROCKET_LL_VERSION', '2.0.3');
31
  define('ROCKET_LL_WP_VERSION', '4.7');
32
  define('ROCKET_LL_PHP_VERSION', '5.4');
33
  define('ROCKET_LL_BASENAME', plugin_basename(__FILE__));
3
  * Plugin Name: Lazy Load by WP Rocket
4
  * Plugin URI: http://wordpress.org/plugins/rocket-lazy-load/
5
  * Description: The tiny Lazy Load script for WordPress without jQuery or others libraries.
6
+ * Version: 2.0.3.1
7
  * Author: WP Media
8
  * Author URI: https://wp-rocket.me
9
  * Text Domain: rocket-lazy-load
27
 
28
  defined('ABSPATH') || die('Cheatin\' uh?');
29
 
30
+ define('ROCKET_LL_VERSION', '2.0.3.1');
31
  define('ROCKET_LL_WP_VERSION', '4.7');
32
  define('ROCKET_LL_PHP_VERSION', '5.4');
33
  define('ROCKET_LL_BASENAME', plugin_basename(__FILE__));
src/Subscriber/LazyloadSubscriber.php CHANGED
@@ -371,6 +371,6 @@ class LazyloadSubscriber implements SubscriberInterface
371
  */
372
  private function ignoreScripts($html)
373
  {
374
- return preg_replace('/<script\b(?:[^>]*)>(?:.+)?<\/script>/msi', '', $html);
375
  }
376
  }
371
  */
372
  private function ignoreScripts($html)
373
  {
374
+ return preg_replace('/<script\b(?:[^>]*)>(?:.+)?<\/script>/mi', '', $html);
375
  }
376
  }