Scripts n Styles - Version 3.2.1

Version Description

  • metabox add shortcode bugfix
Download this release

Release Info

Developer WraithKenny
Plugin Icon wp plugin Scripts n Styles
Version 3.2.1
Comparing to
See all releases

Code changes from version 3.2 to 3.2.1

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: WraithKenny, CaptainN
3
  Tags: admin, CSS, javascript, code, custom, Style
4
  Requires at least: 3.4
5
  Tested up to: 3.4
6
- Stable tag: 3.2
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -58,6 +58,9 @@ Sure, if you are an Admin, just go to the plugin editor and wipe out the uninsta
58
 
59
  == Changelog ==
60
 
 
 
 
61
  = 3.2 =
62
  * Add AJAX to Shortcode Tab
63
  * Add "Chosen" for selects
@@ -127,6 +130,9 @@ Sure, if you are an Admin, just go to the plugin editor and wipe out the uninsta
127
 
128
  == Upgrade Notice ==
129
 
 
 
 
130
  = 3.2 =
131
  New Major Features
132
 
3
  Tags: admin, CSS, javascript, code, custom, Style
4
  Requires at least: 3.4
5
  Tested up to: 3.4
6
+ Stable tag: 3.2.1
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
58
 
59
  == Changelog ==
60
 
61
+ = 3.2.1 =
62
+ * metabox add shortcode bugfix
63
+
64
  = 3.2 =
65
  * Add AJAX to Shortcode Tab
66
  * Add "Chosen" for selects
130
 
131
  == Upgrade Notice ==
132
 
133
+ = 3.2.1 =
134
+ Bug fix (add shortcode)
135
+
136
  = 3.2 =
137
  New Major Features
138
 
includes/class-sns-ajax.php CHANGED
@@ -316,7 +316,7 @@ class SnS_AJAX
316
  <div class="inside">
317
  <p>[sns_shortcode name="<?php echo esc_attr( $key ) ?>"]</p>
318
  <textarea style="width: 98%;" cols="40" rows="5" name="SnS_shortcodes[existing][<?php echo esc_attr( $key ) ?>]"
319
- data-sns-shortcode-key="<?php echo esc_attr( $key ) ?>" class="codemirror-new htmlmixed"><?php echo esc_textarea( $value ) ?></textarea>
320
  <div class="sns-ajax-wrap"><a href="#" class="sns-ajax-delete-shortcode button">Delete</a> &nbsp; <a href="#" class="sns-ajax-update-shortcode button">Update</a> <img src="/wp-admin/images/wpspin_light.gif" class="sns-ajax-loading" style="display: none;"></div>
321
  </div>
322
  </div><?php
316
  <div class="inside">
317
  <p>[sns_shortcode name="<?php echo esc_attr( $key ) ?>"]</p>
318
  <textarea style="width: 98%;" cols="40" rows="5" name="SnS_shortcodes[existing][<?php echo esc_attr( $key ) ?>]"
319
+ data-sns-shortcode-key="<?php echo esc_attr( $key ) ?>" class="codemirror-new htmlmixed"><?php echo esc_textarea( stripslashes ( $value ) ) ?></textarea>
320
  <div class="sns-ajax-wrap"><a href="#" class="sns-ajax-delete-shortcode button">Delete</a> &nbsp; <a href="#" class="sns-ajax-update-shortcode button">Update</a> <img src="/wp-admin/images/wpspin_light.gif" class="sns-ajax-loading" style="display: none;"></div>
321
  </div>
322
  </div><?php
scripts-n-styles.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.unfocus.com/projects/scripts-n-styles/
5
  Description: Allows WordPress admin users the ability to add custom CSS and JavaScript directly to individual Post, Pages or custom post types.
6
  Author: unFocus Projects
7
  Author URI: http://www.unfocus.com/
8
- Version: 3.2
9
  License: GPLv3 or later
10
  Text Domain: scripts-n-styles
11
  Network: true
@@ -51,7 +51,7 @@ Network: true
51
  * @link http://www.unfocus.com/projects/scripts-n-styles/ Plugin URI
52
  * @author unFocus Projects
53
  * @link http://www.unfocus.com/ Author URI
54
- * @version 3.2
55
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
56
  * @copyright Copyright (c) 2010 - 2012, Kenneth Newman
57
  * @copyright Copyright (c) 2012, Kevin Newman
@@ -69,7 +69,7 @@ class Scripts_n_Styles
69
  /**#@+
70
  * @static
71
  */
72
- const VERSION = '3.2';
73
  static $file = __FILE__;
74
  static $cm_themes = array( 'default', 'ambiance', 'blackboard', 'cobalt', 'eclipse', 'elegant', 'lesser-dark', 'monokai', 'neat', 'night', 'rubyblue', 'xq-dark' );
75
  /**#@-*/
5
  Description: Allows WordPress admin users the ability to add custom CSS and JavaScript directly to individual Post, Pages or custom post types.
6
  Author: unFocus Projects
7
  Author URI: http://www.unfocus.com/
8
+ Version: 3.2.1
9
  License: GPLv3 or later
10
  Text Domain: scripts-n-styles
11
  Network: true
51
  * @link http://www.unfocus.com/projects/scripts-n-styles/ Plugin URI
52
  * @author unFocus Projects
53
  * @link http://www.unfocus.com/ Author URI
54
+ * @version 3.2.1
55
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
56
  * @copyright Copyright (c) 2010 - 2012, Kenneth Newman
57
  * @copyright Copyright (c) 2012, Kevin Newman
69
  /**#@+
70
  * @static
71
  */
72
+ const VERSION = '3.2.1';
73
  static $file = __FILE__;
74
  static $cm_themes = array( 'default', 'ambiance', 'blackboard', 'cobalt', 'eclipse', 'elegant', 'lesser-dark', 'monokai', 'neat', 'night', 'rubyblue', 'xq-dark' );
75
  /**#@-*/