NitroPack - Version 1.5.4

Version Description

  • Change: Bump up the tested-up-to version for WP 5.7
  • Bug fix: Resolve a constant already defined error
  • Bug fix: Resolve an issue with the positioning of the status dot in the admin bar
Download this release

Release Info

Developer nitropack
Plugin Icon 128x128 NitroPack
Version 1.5.4
Comparing to
See all releases

Code changes from version 1.5.3 to 1.5.4

constants.php CHANGED
@@ -6,7 +6,7 @@ function nitropack_trailingslashit($string) {
6
  return rtrim( $string, '/\\' ) . '/';
7
  }
8
 
9
- define( 'NITROPACK_VERSION', '1.5.3' );
10
  define( 'NITROPACK_OPTION_GROUP', 'nitropack' );
11
  define( 'NITROPACK_DATA_DIR', nitropack_trailingslashit(WP_CONTENT_DIR) . 'nitropack' );
12
  define( 'NITROPACK_CONFIG_FILE', nitropack_trailingslashit(NITROPACK_DATA_DIR) . 'config.json' );
6
  return rtrim( $string, '/\\' ) . '/';
7
  }
8
 
9
+ define( 'NITROPACK_VERSION', '1.5.4' );
10
  define( 'NITROPACK_OPTION_GROUP', 'nitropack' );
11
  define( 'NITROPACK_DATA_DIR', nitropack_trailingslashit(WP_CONTENT_DIR) . 'nitropack' );
12
  define( 'NITROPACK_CONFIG_FILE', nitropack_trailingslashit(NITROPACK_DATA_DIR) . 'config.json' );
functions.php CHANGED
@@ -488,8 +488,7 @@ function nitropack_init() {
488
  }
489
 
490
  if (!nitropack_is_optimizer_request() && nitropack_passes_page_requirements()) {// This is a cacheable URL
491
- add_action('wp_footer', 'nitropack_print_telemetry_script');
492
- add_action('get_footer', 'nitropack_print_telemetry_script');
493
  }
494
  }
495
  }
@@ -602,7 +601,7 @@ function nitropack_get_beacon_script() {
602
 
603
  function nitropack_print_telemetry_script() {
604
  if (defined("NITROPACK_TELEMETRY_PRINTED")) return;
605
- define("NITROPACK_TELEMTRY_PRINTED", true);
606
  echo nitropack_get_telemetry_script();
607
  }
608
 
488
  }
489
 
490
  if (!nitropack_is_optimizer_request() && nitropack_passes_page_requirements()) {// This is a cacheable URL
491
+ add_action('wp_head', 'nitropack_print_telemetry_script');
 
492
  }
493
  }
494
  }
601
 
602
  function nitropack_print_telemetry_script() {
603
  if (defined("NITROPACK_TELEMETRY_PRINTED")) return;
604
+ define("NITROPACK_TELEMETRY_PRINTED", true);
605
  echo nitropack_get_telemetry_script();
606
  }
607
 
main.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: NitroPack
4
  Plugin URI: https://nitropack.io/platform/wordpress
5
  Description: Everything you need for a fast website. Simple set up, easy to use, awesome support. Caching, Lazy Loading, Minification, Defer CSS/JS, CDN and more!
6
- Version: 1.5.3
7
  Author: NitroPack LLC
8
  Author URI: https://nitropack.io/
9
  License: GPL2
3
  Plugin Name: NitroPack
4
  Plugin URI: https://nitropack.io/platform/wordpress
5
  Description: Everything you need for a fast website. Simple set up, easy to use, awesome support. Caching, Lazy Loading, Minification, Defer CSS/JS, CDN and more!
6
+ Version: 1.5.4
7
  Author: NitroPack LLC
8
  Author URI: https://nitropack.io/
9
  License: GPL2
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: nitropack
3
  Tags: cache,perfomance,optimize,pagespeed,lazy load,cdn,critical css,compression,defer css javascript,minify css,minify,webp
4
  Requires at least: 4.7
5
- Tested up to: 5.6
6
  Requires PHP: 5.3
7
  Stable tag: 1.5.3
8
  License: GNU General Public License, version 2
@@ -169,6 +169,11 @@ No. We’ve designed NitroPack to be a very lightweight solution that adds no CP
169
 
170
  == Changelog ==
171
 
 
 
 
 
 
172
  = 1.5.3 =
173
  * New Feature: Safe Mode toggle within the plugin's dashboard
174
  * Improvement: Add support for an upcoming improvement in the compatibility with reverse proxies like Cloudflare and Sucuri
2
  Contributors: nitropack
3
  Tags: cache,perfomance,optimize,pagespeed,lazy load,cdn,critical css,compression,defer css javascript,minify css,minify,webp
4
  Requires at least: 4.7
5
+ Tested up to: 5.7
6
  Requires PHP: 5.3
7
  Stable tag: 1.5.3
8
  License: GNU General Public License, version 2
169
 
170
  == Changelog ==
171
 
172
+ = 1.5.4 =
173
+ * Change: Bump up the tested-up-to version for WP 5.7
174
+ * Bug fix: Resolve a constant already defined error
175
+ * Bug fix: Resolve an issue with the positioning of the status dot in the admin bar
176
+
177
  = 1.5.3 =
178
  * New Feature: Safe Mode toggle within the plugin's dashboard
179
  * Improvement: Add support for an upcoming improvement in the compatibility with reverse proxies like Cloudflare and Sucuri
view/stylesheet/admin_bar_menu.css CHANGED
@@ -21,7 +21,6 @@
21
 
22
  .nitro-status {
23
  width: 9px!important;
24
- height: 9px!important;
25
  font-size: 9px!important;
26
  vertical-align: middle!important;
27
  }
21
 
22
  .nitro-status {
23
  width: 9px!important;
 
24
  font-size: 9px!important;
25
  vertical-align: middle!important;
26
  }