Version Description
Release Date: 04 June 2019
- Fixed: Quick fix for the "Move scripts to footer" option.
Download this release
Release Info
Developer | optimocha |
Plugin | Speed Booster Pack |
Version | 3.8.2.1 |
Comparing to | |
See all releases |
Code changes from version 3.8.2 to 3.8.2.1
- inc/core.php +3 -20
- readme.txt +7 -1
- speed-booster-pack.php +2 -2
inc/core.php
CHANGED
@@ -351,24 +351,6 @@ if ( ! class_exists( 'Speed_Booster_Pack_Core' ) ) {
|
|
351 |
---------------------------------------------------------------------------------------------------------*/
|
352 |
|
353 |
public function sbp_scripts_to_head() {
|
354 |
-
|
355 |
-
|
356 |
-
if ( get_option( 'sbp_head_html_script1' ) ) {
|
357 |
-
echo get_option( 'sbp_head_html_script1' ) . "\n";
|
358 |
-
}
|
359 |
-
|
360 |
-
if ( get_option( 'sbp_head_html_script2' ) ) {
|
361 |
-
echo get_option( 'sbp_head_html_script2' ) . "\n";
|
362 |
-
}
|
363 |
-
|
364 |
-
if ( get_option( 'sbp_head_html_script3' ) ) {
|
365 |
-
echo get_option( 'sbp_head_html_script3' ) . "\n";
|
366 |
-
}
|
367 |
-
|
368 |
-
if ( get_option( 'sbp_head_html_script4' ) ) {
|
369 |
-
echo get_option( 'sbp_head_html_script4' ) . "\n";
|
370 |
-
}
|
371 |
-
|
372 |
/**
|
373 |
* Default: add jQuery to header always
|
374 |
*
|
@@ -423,8 +405,9 @@ if ( ! class_exists( 'Speed_Booster_Pack_Core' ) ) {
|
|
423 |
}
|
424 |
|
425 |
// deregister & dequeue the script
|
426 |
-
wp_deregister_script( 'jquery-core' );
|
427 |
-
wp_dequeue_script( 'jquery-core' );
|
|
|
428 |
}
|
429 |
|
430 |
|
351 |
---------------------------------------------------------------------------------------------------------*/
|
352 |
|
353 |
public function sbp_scripts_to_head() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
354 |
/**
|
355 |
* Default: add jQuery to header always
|
356 |
*
|
405 |
}
|
406 |
|
407 |
// deregister & dequeue the script
|
408 |
+
//wp_deregister_script( 'jquery-core' );
|
409 |
+
//wp_dequeue_script( 'jquery-core' );
|
410 |
+
$wp_scripts->registered[ 'jquery-core' ]->src = null;
|
411 |
}
|
412 |
|
413 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: speed, speed optimization, performance, scripts to the footer, defer parsi
|
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 5.2.1
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 3.8.2
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -53,6 +53,12 @@ Speed Booster Pack is a plugin that can help you speed up your website by tweaki
|
|
53 |
|
54 |
== Changelog ==
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
= 3.8.2 =
|
57 |
|
58 |
*Release Date: 03 June 2019*
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 5.2.1
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 3.8.2.1
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
53 |
|
54 |
== Changelog ==
|
55 |
|
56 |
+
= 3.8.2.1 =
|
57 |
+
|
58 |
+
*Release Date: 04 June 2019*
|
59 |
+
|
60 |
+
* **Fixed:** Quick fix for the "Move scripts to footer" option.
|
61 |
+
|
62 |
= 3.8.2 =
|
63 |
|
64 |
*Release Date: 03 June 2019*
|
speed-booster-pack.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: http://wordpress.org/plugins/speed-booster-pack/
|
5 |
* Description: Speed Booster Pack helps you improve your page loading speed and get higher scores on speed test services like GTmetrix, Google PageSpeed or WebPageTest.
|
6 |
* Author: Optimocha
|
7 |
-
* Version: 3.8.2
|
8 |
* Author URI: https://optimocha.com
|
9 |
* License: GPLv3 or later
|
10 |
* License URI: http://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', plugin_dir_url( __FILE__ ) );
|
50 |
-
define( 'SPEED_BOOSTER_PACK_VERSION', '3.8.2' );
|
51 |
// Defining css position
|
52 |
define( 'SBP_FOOTER', 10 );
|
53 |
// Defining css last position
|
4 |
* Plugin URI: http://wordpress.org/plugins/speed-booster-pack/
|
5 |
* Description: Speed Booster Pack helps you improve your page loading speed and get higher scores on speed test services like GTmetrix, Google PageSpeed or WebPageTest.
|
6 |
* Author: Optimocha
|
7 |
+
* Version: 3.8.2.1
|
8 |
* Author URI: https://optimocha.com
|
9 |
* License: GPLv3 or later
|
10 |
* License URI: http://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', plugin_dir_url( __FILE__ ) );
|
50 |
+
define( 'SPEED_BOOSTER_PACK_VERSION', '3.8.2.1' );
|
51 |
// Defining css position
|
52 |
define( 'SBP_FOOTER', 10 );
|
53 |
// Defining css last position
|