NitroPack - Version 1.5.1

Version Description

  • Bug fix: Resolve an issue causing a fatal error related to undefined class name
Download this release

Release Info

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

Code changes from version 1.5.0 to 1.5.1

constants.php CHANGED
@@ -6,7 +6,7 @@ function nitropack_trailingslashit($string) {
6
  return rtrim( $string, '/\\' ) . '/';
7
  }
8
 
9
- define( 'NITROPACK_VERSION', '1.5.0' );
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.1' );
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' );
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.0
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.1
7
  Author: NitroPack LLC
8
  Author URI: https://nitropack.io/
9
  License: GPL2
nitropack-sdk/NitroPack/SDK/Api.php CHANGED
@@ -272,6 +272,3 @@ class Api {
272
  return $this->integration->readPaginated($page, $limit);
273
  }
274
  }
275
-
276
- class WebhookException extends \Exception {}
277
- class VariationCookieException extends \Exception {}
272
  return $this->integration->readPaginated($page, $limit);
273
  }
274
  }
 
 
 
nitropack-sdk/NitroPack/SDK/NitroPack.php CHANGED
@@ -789,5 +789,3 @@ class NitroPack {
789
  return $urlObj->getNormalized();
790
  }
791
  }
792
-
793
- class NoConfigException extends \Exception {}
789
  return $urlObj->getNormalized();
790
  }
791
  }
 
 
nitropack-sdk/NitroPack/SDK/NoConfigException.php ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?php
2
+ namespace NitroPack\SDK;
3
+
4
+ class NoConfigException extends \Exception {}
nitropack-sdk/NitroPack/SDK/VariationCookieException.php ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?php
2
+ namespace NitroPack\SDK;
3
+
4
+ class VariationCookieException extends \Exception {}
nitropack-sdk/NitroPack/SDK/WebhookException.php ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?php
2
+ namespace NitroPack\SDK;
3
+
4
+ class WebhookException extends \Exception {}
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: cache,perfomance,optimize,pagespeed,lazy load,cdn,critical css,compression
4
  Requires at least: 4.7
5
  Tested up to: 5.6
6
  Requires PHP: 5.3
7
- Stable tag: 1.5.0
8
  License: GNU General Public License, version 2
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -169,6 +169,9 @@ No. We’ve designed NitroPack to be a very lightweight solution that adds no CP
169
 
170
  == Changelog ==
171
 
 
 
 
172
  = 1.5.0 =
173
  * New Feature: Compatibility with Cloudflare APO
174
  * Improvement: Better resilience to network related issues
4
  Requires at least: 4.7
5
  Tested up to: 5.6
6
  Requires PHP: 5.3
7
+ Stable tag: 1.5.1
8
  License: GNU General Public License, version 2
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
169
 
170
  == Changelog ==
171
 
172
+ = 1.5.1 =
173
+ * Bug fix: Resolve an issue causing a fatal error related to undefined class name
174
+
175
  = 1.5.0 =
176
  * New Feature: Compatibility with Cloudflare APO
177
  * Improvement: Better resilience to network related issues