CSS & JavaScript Toolbox - Version 8.0.1

Version Description

  • Fix: Fresh installer stopped when 'Adding Wordpress built-in scripts and styles as CJT Templates'
  • Fix: Dashboard metabox notices when CJT is not yet installed
Download this release

Release Info

Developer xpointer
Plugin Icon 128x128 CSS & JavaScript Toolbox
Version 8.0.1
Comparing to
See all releases

Code changes from version 8.0 to 8.0.1

access.points/dashboardmetabox.accesspoint.php CHANGED
@@ -27,7 +27,9 @@ class CJTDashboardMetaboxAccessPoint extends CJTAccessPoint {
27
  *
28
  */
29
  public function createMetabox() {
30
- wp_add_dashboard_widget('cjt-statistics', cssJSToolbox::getText('CSS & Javascript Toolbox'), array($this, 'route'));
 
 
31
  }
32
 
33
  /**
27
  *
28
  */
29
  public function createMetabox() {
30
+ if (CJTPlugin::getInstance()->isInstalled()) {
31
+ wp_add_dashboard_widget('cjt-statistics', cssJSToolbox::getText('CSS & Javascript Toolbox'), array($this, 'route'));
32
+ }
33
  }
34
 
35
  /**
css-js-toolbox.class.php CHANGED
@@ -239,7 +239,7 @@ class cssJSToolbox extends CJTHookableClass {
239
  $base = WP_PLUGIN_DIR;
240
  }
241
  // Replace all :'s with /'s.
242
- $path = preg_replace('/(\w)\:(\w)/', '$1/$2', $vPath);
243
  $path = "{$base}/{$path}";
244
  return self::trigger('cssJSToolbox.resolvepath', $path, $vPath);
245
  }
239
  $base = WP_PLUGIN_DIR;
240
  }
241
  // Replace all :'s with /'s.
242
+ $path = str_replace(':', '/', $vPath);
243
  $path = "{$base}/{$path}";
244
  return self::trigger('cssJSToolbox.resolvepath', $path, $vPath);
245
  }
css-js-toolbox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: CSS & JavaScript Toolbox
4
  Plugin URI: http://css-javascript-toolbox.com/
5
  Description: CJT Plugin for WordPress to easily add custom CSS and JavaScript to individual pages
6
- Version: 8.0
7
  Author: Wipeout Media
8
  Author URI: http://css-javascript-toolbox.com
9
  License:
@@ -89,7 +89,7 @@ class CJTPlugin extends CJTHookableClass {
89
  /**
90
  *
91
  */
92
- const VERSION = '8.0' ;
93
 
94
  /**
95
  *
3
  Plugin Name: CSS & JavaScript Toolbox
4
  Plugin URI: http://css-javascript-toolbox.com/
5
  Description: CJT Plugin for WordPress to easily add custom CSS and JavaScript to individual pages
6
+ Version: 8.0.1
7
  Author: Wipeout Media
8
  Author URI: http://css-javascript-toolbox.com
9
  License:
89
  /**
90
  *
91
  */
92
+ const VERSION = '8.0.1' ;
93
 
94
  /**
95
  *
readme.txt CHANGED
@@ -7,7 +7,7 @@ License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  Requires at least: 3.9
9
  Tested up to: 4.0
10
- Stable tag: 8.0
11
 
12
  Easily add custom CSS, JavaScript, HTML and PHP code to unique CJT code blocks and assign them wherever you want.
13
 
@@ -132,6 +132,10 @@ Due to the overwhelming amount of emails we get for users requesting support for
132
  21. See Code Block information at a glance
133
 
134
  == Changelog ==
 
 
 
 
135
  = 8.0 =
136
  * Show premium extensions list in Dashboard Widget instead of Scripts Packages
137
  * Framework update that makes CJT functionality more extendable
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  Requires at least: 3.9
9
  Tested up to: 4.0
10
+ Stable tag: 8.0.1
11
 
12
  Easily add custom CSS, JavaScript, HTML and PHP code to unique CJT code blocks and assign them wherever you want.
13
 
132
  21. See Code Block information at a glance
133
 
134
  == Changelog ==
135
+ = 8.0.1 =
136
+ * Fix: Fresh installer stopped when 'Adding Wordpress built-in scripts and styles as CJT Templates'
137
+ * Fix: Dashboard metabox notices when CJT is not yet installed
138
+
139
  = 8.0 =
140
  * Show premium extensions list in Dashboard Widget instead of Scripts Packages
141
  * Framework update that makes CJT functionality more extendable