Version Description
Release Date: 18 October 2019
- Fixed: Added literally one question mark into the lazy loader script.
Download this release
Release Info
Developer | optimocha |
Plugin | Speed Booster Pack |
Version | 3.8.4.2 |
Comparing to | |
See all releases |
Code changes from version 3.8.4.1 to 3.8.4.2
- inc/core.php +1 -1
- readme.txt +7 -1
- speed-booster-pack.php +2 -2
inc/core.php
CHANGED
@@ -822,7 +822,7 @@ if ( ! class_exists( 'Speed_Booster_Pack_Core' ) ) {
|
|
822 |
$placeholder = 'data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%203%202%27%3E%3C/svg%3E';
|
823 |
$html = preg_replace( "/<(img|source|iframe)(.*?) (src=)(.*?)>/i", '<$1$2 $3"' . $placeholder . '" data-$3$4>', $html );
|
824 |
$html = preg_replace( "/<(img|source|iframe)(.*?) (srcset=)(.*?)>/i", '<$1$2 $3"' . $placeholder . '" data-$3$4>', $html );
|
825 |
-
$html = preg_replace( "/<(img|source|iframe)(.*?) (\/?)>/i", '<$1$2 loading="lazy" $3>', $html );
|
826 |
return $html;
|
827 |
}
|
828 |
|
822 |
$placeholder = 'data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%203%202%27%3E%3C/svg%3E';
|
823 |
$html = preg_replace( "/<(img|source|iframe)(.*?) (src=)(.*?)>/i", '<$1$2 $3"' . $placeholder . '" data-$3$4>', $html );
|
824 |
$html = preg_replace( "/<(img|source|iframe)(.*?) (srcset=)(.*?)>/i", '<$1$2 $3"' . $placeholder . '" data-$3$4>', $html );
|
825 |
+
$html = preg_replace( "/<(img|source|iframe)(.*?) ?(\/?)>/i", '<$1$2 loading="lazy" $3>', $html );
|
826 |
return $html;
|
827 |
}
|
828 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: speed, performance, javascript optimization, css optimization, google page
|
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 5.2.1
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 3.8.4.
|
9 |
License: GPLv3 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -93,6 +93,12 @@ All the time! We're always looking for new ways to get this plugin to a better s
|
|
93 |
|
94 |
== Changelog ==
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
= 3.8.4.1 =
|
97 |
|
98 |
*Release Date: 18 October 2019*
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 5.2.1
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 3.8.4.2
|
9 |
License: GPLv3 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 3.8.4.2 =
|
97 |
+
|
98 |
+
*Release Date: 18 October 2019*
|
99 |
+
|
100 |
+
* **Fixed**: Added literally one question mark into the lazy loader script.
|
101 |
+
|
102 |
= 3.8.4.1 =
|
103 |
|
104 |
*Release Date: 18 October 2019*
|
speed-booster-pack.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: https://wordpress.org/plugins/speed-booster-pack/
|
5 |
* Description: Speed optimization is crucial for SEO. And Speed Booster Pack is the easiest way to improve website performance. Get better PageSpeed scores today!
|
6 |
* Author: Optimocha
|
7 |
-
* Version: 3.8.4.
|
8 |
* Author URI: https://optimocha.com/
|
9 |
* License: GPLv3 or later
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
@@ -47,7 +47,7 @@ if( !defined( 'ABSPATH' ) ) {
|
|
47 |
|
48 |
define( 'SPEED_BOOSTER_PACK_PATH', plugin_dir_path( __FILE__ ) );
|
49 |
define( 'SPEED_BOOSTER_PACK_URL', preg_replace('#^https?:#', '', plugin_dir_url( __FILE__ ) ) );
|
50 |
-
define( 'SPEED_BOOSTER_PACK_VERSION', '3.8.4.
|
51 |
// Defining css position
|
52 |
define( 'SBP_FOOTER', 10 );
|
53 |
// Defining css last position
|
4 |
* Plugin URI: https://wordpress.org/plugins/speed-booster-pack/
|
5 |
* Description: Speed optimization is crucial for SEO. And Speed Booster Pack is the easiest way to improve website performance. Get better PageSpeed scores today!
|
6 |
* Author: Optimocha
|
7 |
+
* Version: 3.8.4.2
|
8 |
* Author URI: https://optimocha.com/
|
9 |
* License: GPLv3 or later
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
47 |
|
48 |
define( 'SPEED_BOOSTER_PACK_PATH', plugin_dir_path( __FILE__ ) );
|
49 |
define( 'SPEED_BOOSTER_PACK_URL', preg_replace('#^https?:#', '', plugin_dir_url( __FILE__ ) ) );
|
50 |
+
define( 'SPEED_BOOSTER_PACK_VERSION', '3.8.4.2' );
|
51 |
// Defining css position
|
52 |
define( 'SBP_FOOTER', 10 );
|
53 |
// Defining css last position
|