Version Description
Modified: amended previous except for the admin toolbar css to enqueue its stylesheets only if admin bar is showing, to not break the render blocking plugin option.
Download this release
Release Info
Developer | tiguan |
Plugin | Speed Booster Pack |
Version | 2.0 |
Comparing to | |
See all releases |
Code changes from version 1.9 to 2.0
- inc/core.php +5 -1
- readme.txt +4 -1
- speed-booster-pack.php +2 -2
inc/core.php
CHANGED
@@ -93,9 +93,13 @@ function sbp_init() {
|
|
93 |
---------------------------------------------------------------------------------------------------------*/
|
94 |
|
95 |
function sbp_except_admin_bar_css() {
|
96 |
-
|
|
|
|
|
97 |
wp_enqueue_style( 'dashicons' );
|
98 |
wp_enqueue_style( 'admin-bar' );
|
|
|
|
|
99 |
}
|
100 |
|
101 |
|
93 |
---------------------------------------------------------------------------------------------------------*/
|
94 |
|
95 |
function sbp_except_admin_bar_css() {
|
96 |
+
|
97 |
+
if ( is_admin_bar_showing() ) { // enqueue the admin tolbar styles only if active
|
98 |
+
wp_enqueue_style( 'open-sans' );
|
99 |
wp_enqueue_style( 'dashicons' );
|
100 |
wp_enqueue_style( 'admin-bar' );
|
101 |
+
}
|
102 |
+
|
103 |
}
|
104 |
|
105 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: speed, optimization, performance, scripts to the footer, google libraries, font awesome cdn, defer parsing of javascript, remove query strings, lazy load images, gtmetrix, google pageSpeed, yslow, eliminate external render-blocking javascript and css, compression, async, render-blocking css
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag:
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -75,6 +75,9 @@ Page Load Stats is a brief statistic displayed in the plugin options page. It di
|
|
75 |
|
76 |
== Changelog ==
|
77 |
|
|
|
|
|
|
|
78 |
= 1.9 =
|
79 |
* Fix: breaking the SEO by Yoast plugin interface (perhaps as well as to others too). Thanks [@JahLive](http://profiles.wordpress.org/jahlive) for the [bug report](http://wordpress.org/support/topic/yoast-wordpress-seo-broken-after-update).
|
80 |
* Added an except for the admin toolbar css since the Load CSS asynchronously option removes its dashicons and stylesheets.
|
4 |
Tags: speed, optimization, performance, scripts to the footer, google libraries, font awesome cdn, defer parsing of javascript, remove query strings, lazy load images, gtmetrix, google pageSpeed, yslow, eliminate external render-blocking javascript and css, compression, async, render-blocking css
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 2.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 2.0 =
|
79 |
+
Modified: amended previous except for the admin toolbar css to enqueue its stylesheets only if admin bar is showing, to not break the render blocking plugin option.
|
80 |
+
|
81 |
= 1.9 =
|
82 |
* Fix: breaking the SEO by Yoast plugin interface (perhaps as well as to others too). Thanks [@JahLive](http://profiles.wordpress.org/jahlive) for the [bug report](http://wordpress.org/support/topic/yoast-wordpress-seo-broken-after-update).
|
83 |
* Added an except for the admin toolbar css since the Load CSS asynchronously option removes its dashicons and stylesheets.
|
speed-booster-pack.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Speed Booster Pack
|
4 |
* Plugin URI: http://wordpress.org/plugins/speed-booster-pack/
|
5 |
* Description: Speed Booster Pack allows you to improve your page loading speed and get a higher score on the major speed testing services such as <a href="http://gtmetrix.com/">GTmetrix</a>, <a href="http://developers.google.com/speed/pagespeed/insights/">Google PageSpeed</a> or other speed testing tools.
|
6 |
-
* Version:
|
7 |
* Author: Tiguan
|
8 |
* Author URI: http://tiguandesign.com
|
9 |
* License: GPLv2
|
@@ -38,7 +38,7 @@ $sbp_options = get_option( 'sbp_settings', 'checked' ); // retrieve the plugin s
|
|
38 |
|
39 |
define( 'SPEED_BOOSTER_PACK_RELEASE_DATE', date_i18n( 'F j, Y', '1400569200' ) ); // Defining plugin release date
|
40 |
define( 'SPEED_BOOSTER_PACK_PATH', plugin_dir_path( __FILE__ ) ); // Defining plugin dir path
|
41 |
-
define( 'SPEED_BOOSTER_PACK_VERSION', '
|
42 |
define( 'SPEED_BOOSTER_PACK_NAME', 'Speed Booster Pack Plugin'); // Defining plugin name
|
43 |
define( 'SBP_FOOTER', 9999999 ); // Defining css position
|
44 |
|
3 |
* Plugin Name: Speed Booster Pack
|
4 |
* Plugin URI: http://wordpress.org/plugins/speed-booster-pack/
|
5 |
* Description: Speed Booster Pack allows you to improve your page loading speed and get a higher score on the major speed testing services such as <a href="http://gtmetrix.com/">GTmetrix</a>, <a href="http://developers.google.com/speed/pagespeed/insights/">Google PageSpeed</a> or other speed testing tools.
|
6 |
+
* Version: 2.0
|
7 |
* Author: Tiguan
|
8 |
* Author URI: http://tiguandesign.com
|
9 |
* License: GPLv2
|
38 |
|
39 |
define( 'SPEED_BOOSTER_PACK_RELEASE_DATE', date_i18n( 'F j, Y', '1400569200' ) ); // Defining plugin release date
|
40 |
define( 'SPEED_BOOSTER_PACK_PATH', plugin_dir_path( __FILE__ ) ); // Defining plugin dir path
|
41 |
+
define( 'SPEED_BOOSTER_PACK_VERSION', 'v2.0'); // Defining plugin version
|
42 |
define( 'SPEED_BOOSTER_PACK_NAME', 'Speed Booster Pack Plugin'); // Defining plugin name
|
43 |
define( 'SBP_FOOTER', 9999999 ); // Defining css position
|
44 |
|