Shortcake (Shortcode UI) - Version 0.2.3

Version Description

(April 8, 2015) = * Fix WP 4.1 backwards compatibility issue by restoring arguments passed to TinyMCE view compatibility shim.

Download this release

Release Info

Developer danielbachhuber
Plugin Icon 128x128 Shortcake (Shortcode UI)
Version 0.2.3
Comparing to
See all releases

Code changes from version 0.2.2 to 0.2.3

js/build/shortcode-ui.js CHANGED
@@ -494,11 +494,11 @@ var shortcodeViewConstructor = {
494
  self.setIframes( self.getEditorStyles(), response );
495
  } else {
496
  self.parsed = response;
497
- self.render();
498
  }
499
  }).fail( function() {
500
  self.parsed = '<span class="shortcake-error">' + shortcodeUIData.strings.mce_view_error + '</span>';
501
- self.render();
502
  } );
503
 
504
  }
494
  self.setIframes( self.getEditorStyles(), response );
495
  } else {
496
  self.parsed = response;
497
+ self.render( true );
498
  }
499
  }).fail( function() {
500
  self.parsed = '<span class="shortcake-error">' + shortcodeUIData.strings.mce_view_error + '</span>';
501
+ self.render( true );
502
  } );
503
 
504
  }
js/utils/shortcode-view-constructor.js CHANGED
@@ -240,11 +240,11 @@ var shortcodeViewConstructor = {
240
  self.setIframes( self.getEditorStyles(), response );
241
  } else {
242
  self.parsed = response;
243
- self.render();
244
  }
245
  }).fail( function() {
246
  self.parsed = '<span class="shortcake-error">' + shortcodeUIData.strings.mce_view_error + '</span>';
247
- self.render();
248
  } );
249
 
250
  }
240
  self.setIframes( self.getEditorStyles(), response );
241
  } else {
242
  self.parsed = response;
243
+ self.render( true );
244
  }
245
  }).fail( function() {
246
  self.parsed = '<span class="shortcake-error">' + shortcodeUIData.strings.mce_view_error + '</span>';
247
+ self.render( true );
248
  } );
249
 
250
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mattheu, danielbachhuber, jitendraharpalani, sanchothefat, bfintal
3
  Tags: shortcodes
4
  Requires at least: 4.1
5
  Tested up to: 4.2
6
- Stable tag: 0.2.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -28,6 +28,9 @@ Shortcake can be installed like any other WordPress plugin. Once you've done so,
28
 
29
  == Changelog ==
30
 
 
 
 
31
  = 0.2.2 (April 6, 2015) =
32
  * Update arguments passed to TinyMCE View Render for WP 4.2 compatibility. Previously passed argument wasn't necessary, so removing doesn't break backwards compatibility.
33
 
3
  Tags: shortcodes
4
  Requires at least: 4.1
5
  Tested up to: 4.2
6
+ Stable tag: 0.2.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
28
 
29
  == Changelog ==
30
 
31
+ = 0.2.3 (April 8, 2015) =
32
+ * Fix WP 4.1 backwards compatibility issue by restoring arguments passed to TinyMCE view compatibility shim.
33
+
34
  = 0.2.2 (April 6, 2015) =
35
  * Update arguments passed to TinyMCE View Render for WP 4.2 compatibility. Previously passed argument wasn't necessary, so removing doesn't break backwards compatibility.
36
 
shortcode-ui.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Shortcode UI
4
- * Version: v0.2.2
5
  * Description: User Interface for adding shortcodes.
6
  * Author: Fusion Engineering and community
7
  * Author URI: http://next.fusion.net/tag/shortcode-ui/
@@ -19,7 +19,7 @@
19
  * GNU General Public License for more details.
20
  */
21
 
22
- define( 'SHORTCODE_UI_VERSION', '0.2.2' );
23
 
24
  require_once dirname( __FILE__ ) . '/inc/class-shortcode-ui.php';
25
  require_once dirname( __FILE__ ) . '/inc/fields/class-shortcode-ui-fields.php';
1
  <?php
2
  /**
3
  * Plugin Name: Shortcode UI
4
+ * Version: v0.2.3
5
  * Description: User Interface for adding shortcodes.
6
  * Author: Fusion Engineering and community
7
  * Author URI: http://next.fusion.net/tag/shortcode-ui/
19
  * GNU General Public License for more details.
20
  */
21
 
22
+ define( 'SHORTCODE_UI_VERSION', '0.2.3' );
23
 
24
  require_once dirname( __FILE__ ) . '/inc/class-shortcode-ui.php';
25
  require_once dirname( __FILE__ ) . '/inc/fields/class-shortcode-ui-fields.php';