CSS & JavaScript Toolbox - Version 6.0.13

Version Description

  • Fix: CJT hijacks Plugins page after activate or deactivate a Plugin.
Download this release

Release Info

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

Code changes from version 6.0.12 to 6.0.13

css-js-toolbox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: CSS & JavaScript Toolbox
4
  Plugin URI: http://css-javascript-toolbox.com/css-javascript-toolbox-free
5
  Description: CJT Plugin for WordPress to easily add custom CSS and JavaScript to individual pages
6
- Version: 6.0.12
7
  Author: Wipeout Media
8
  Author URI: http://css-javascript-toolbox.com/
9
 
3
  Plugin Name: CSS & JavaScript Toolbox
4
  Plugin URI: http://css-javascript-toolbox.com/css-javascript-toolbox-free
5
  Description: CJT Plugin for WordPress to easily add custom CSS and JavaScript to individual pages
6
+ Version: 6.0.13
7
  Author: Wipeout Media
8
  Author URI: http://css-javascript-toolbox.com/
9
 
models/extensions.php CHANGED
@@ -17,7 +17,7 @@ class CJTExtensionsModel {
17
  */
18
  public function getListTypeName() {
19
  // if the search term is for CJT extensions return 'extensions' otherwise return 'plugins'
20
- $type = (isset($_REQUEST['s']) == CJTExtensionsAccessPoint::PLUGINS_PAGE_SEARCH_TERM) ? 'extensions' : 'plugins';
21
  return $type;
22
  }
23
 
17
  */
18
  public function getListTypeName() {
19
  // if the search term is for CJT extensions return 'extensions' otherwise return 'plugins'
20
+ $type = (isset($_REQUEST['s']) && ($_REQUEST['s'] == CJTExtensionsAccessPoint::PLUGINS_PAGE_SEARCH_TERM)) ? 'extensions' : 'plugins';
21
  return $type;
22
  }
23
 
models/installer.php CHANGED
@@ -131,6 +131,8 @@ class CJTInstallerModel {
131
  * @return void
132
  */
133
  public function install() {
 
 
134
  // Read input!
135
  $rOperation = $this->input['operation'];
136
  $type = $rOperation['type'];
@@ -163,10 +165,12 @@ class CJTInstallerModel {
163
  // Update operations cache to reflect the new state!
164
  update_option(self::INSTALLATION_STATE, $operations);
165
  // Say OK!
166
- $this->response = array('state' => self::OPERATION_STATE_INSTALLED);
167
  }
168
  }
169
  }
 
 
170
  }
171
 
172
  /**
131
  * @return void
132
  */
133
  public function install() {
134
+ // Initialize.
135
+ $result = FALSE;
136
  // Read input!
137
  $rOperation = $this->input['operation'];
138
  $type = $rOperation['type'];
165
  // Update operations cache to reflect the new state!
166
  update_option(self::INSTALLATION_STATE, $operations);
167
  // Say OK!
168
+ $result = array('state' => self::OPERATION_STATE_INSTALLED);
169
  }
170
  }
171
  }
172
+ // Returns.
173
+ return $result;
174
  }
175
 
176
  /**
readme.txt CHANGED
@@ -1,13 +1,13 @@
1
  === CSS & JavaScript Toolbox ===
2
  Contributors: wipeoutmedia
3
- Author URL: http://css-javascript-toolbox.com
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EWDWF75JHT9Q6
5
  Tags: plug, customise, style, scripts, hack, Wordpress, contribute, enhancing, HTML, CSS, Javascript, PHP, execute, display, output, header, footer, apply, requests, match, hook, run
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  Requires at least: 3.3
9
  Tested up to: 3.5.1
10
- Stable tag: 6.0.12
11
 
12
  Easily add custom CSS, JavaScript, HTML and PHP code to unique CJT code blocks and assign them wherever you want.
13
 
@@ -127,8 +127,11 @@ Sometimes a bug decides to rear its ugly head and when this happens, this is whe
127
 
128
  == Changelog ==
129
 
 
 
 
130
  = 6.0.12 =
131
- Fix: PHP code is not getting evaluated when CJT code Block delegated using Shortcode.
132
 
133
  = 6.0.11 =
134
  * Fix: Add ACE Editor PHP Worker as it was missing.
1
  === CSS & JavaScript Toolbox ===
2
  Contributors: wipeoutmedia
3
+ Author URL: http://css-javascript-toolbox.com/
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EWDWF75JHT9Q6
5
  Tags: plug, customise, style, scripts, hack, Wordpress, contribute, enhancing, HTML, CSS, Javascript, PHP, execute, display, output, header, footer, apply, requests, match, hook, run
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  Requires at least: 3.3
9
  Tested up to: 3.5.1
10
+ Stable tag: 6.0.13
11
 
12
  Easily add custom CSS, JavaScript, HTML and PHP code to unique CJT code blocks and assign them wherever you want.
13
 
127
 
128
  == Changelog ==
129
 
130
+ = 6.0.13 =
131
+ * Fix: CJT hijacks Plugins page after activate or deactivate a Plugin.
132
+
133
  = 6.0.12 =
134
+ * Fix: PHP code is not getting evaluated when CJT code Block delegated using Shortcode.
135
 
136
  = 6.0.11 =
137
  * Fix: Add ACE Editor PHP Worker as it was missing.