Post Snippets - Version 1.4.4

Version Description

Download this release

Release Info

Developer artstorm
Plugin Icon 128x128 Post Snippets
Version 1.4.4
Comparing to
See all releases

Code changes from version 1.4.3 to 1.4.4

Files changed (2) hide show
  1. post-snippets.php +5 -3
  2. readme.txt +4 -1
post-snippets.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Post Snippets
4
  Plugin URI: http://coding.cglounge.com/wordpress-plugins/post-snippets/
5
  Description: Stores snippets of HTML code or reoccurring text that you often use in your posts. You can use predefined variables to replace parts of the snippet on insert. All snippets are available in the post editor with a TinyMCE button or Quicktags.
6
- Version: 1.4.3
7
  Author: Johan Steen
8
  Author URI: http://coding.cglounge.com/
9
  Text Domain: post-snippets
@@ -145,7 +145,7 @@ class postSnippets {
145
  }
146
  echo '
147
  postSnippetsNr = edButtons.length;
148
- edButtons[postSnippetsNr] = new edButton(\'ed_ps'. $i . '\', \'' . $snippets[$i]['title'] . '\', \''.addslashes($snippets[$i]['snippet']).'\', \'\', \'\', -1);
149
  var postSnippetsButton = postSnippetsToolbar.lastChild;
150
 
151
  while (postSnippetsButton.nodeType != 1) {
@@ -327,7 +327,7 @@ JAVASCRIPT;
327
  </form>
328
 
329
  <div id="poststuff" class="ui-sortable">
330
- <div class="postbox closed">
331
  <h3><?php _e( 'Help', 'post-snippets' ); ?></h3>
332
  <div class="inside">
333
  <p><?php _e( '<strong>Title</strong><br/>Give the snippet a title that helps you identify it in the post editor.', 'post-snippets' ); ?></p>
@@ -339,6 +339,8 @@ JAVASCRIPT;
339
  <p><?php _e( '<strong>SC</strong><br/>Treats the snippet as a shortcode. The name for the shortcode is the same as the title of the snippet (spaces not allowed) and will be used on insert.', 'post-snippets' ); ?></p>
340
 
341
  <p><?php _e( '<strong>QT</strong><br/>Enables the snippet to be available as a quicktag in the HTML editor.', 'post-snippets' ); ?></p>
 
 
342
  </div>
343
  </div>
344
  </div>
3
  Plugin Name: Post Snippets
4
  Plugin URI: http://coding.cglounge.com/wordpress-plugins/post-snippets/
5
  Description: Stores snippets of HTML code or reoccurring text that you often use in your posts. You can use predefined variables to replace parts of the snippet on insert. All snippets are available in the post editor with a TinyMCE button or Quicktags.
6
+ Version: 1.4.4
7
  Author: Johan Steen
8
  Author URI: http://coding.cglounge.com/
9
  Text Domain: post-snippets
145
  }
146
  echo '
147
  postSnippetsNr = edButtons.length;
148
+ edButtons[postSnippetsNr] = new edButton(\'ed_ps'. $i . '\', \'' . $snippets[$i]['title'] . '\', insertString'. $i .', \'\', \'\', -1);
149
  var postSnippetsButton = postSnippetsToolbar.lastChild;
150
 
151
  while (postSnippetsButton.nodeType != 1) {
327
  </form>
328
 
329
  <div id="poststuff" class="ui-sortable">
330
+ <div class="postbox">
331
  <h3><?php _e( 'Help', 'post-snippets' ); ?></h3>
332
  <div class="inside">
333
  <p><?php _e( '<strong>Title</strong><br/>Give the snippet a title that helps you identify it in the post editor.', 'post-snippets' ); ?></p>
339
  <p><?php _e( '<strong>SC</strong><br/>Treats the snippet as a shortcode. The name for the shortcode is the same as the title of the snippet (spaces not allowed) and will be used on insert.', 'post-snippets' ); ?></p>
340
 
341
  <p><?php _e( '<strong>QT</strong><br/>Enables the snippet to be available as a quicktag in the HTML editor.', 'post-snippets' ); ?></p>
342
+
343
+ <p><?php _e( '<strong>About Post Snippets</strong><br/>Visit my <a href="http://coding.cglounge.com/wordpress-plugins/post-snippets/">Post Snippets</a> page for additional information.', 'post-snippets' ); ?></p>
344
  </div>
345
  </div>
346
  </div>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://coding.cglounge.com/wordpress-plugins/post-snippets/#pintwar
4
  Tags: post, admin, snippet, html, custom, page, dynamic, editor, quicktag
5
  Requires at least: 2.7
6
  Tested up to: 2.7.1
7
- Stable tag: 1.4.3
8
 
9
  Store snippets of HTML code or reoccurring text that you often use in your posts. Custom variables can be used.
10
 
@@ -47,6 +47,9 @@ Meditation.
47
 
48
  == Changelog ==
49
 
 
 
 
50
  = Version 1.4.3 - 16 Apr 2009 =
51
  * Fixed an escaping problem with the recently implemented shortcode function, that could cause problems on certain strings.
52
  * Fixed an escaping problem with the quicktag javascript, that could cause problems on certain strings.
4
  Tags: post, admin, snippet, html, custom, page, dynamic, editor, quicktag
5
  Requires at least: 2.7
6
  Tested up to: 2.7.1
7
+ Stable tag: 1.4.4
8
 
9
  Store snippets of HTML code or reoccurring text that you often use in your posts. Custom variables can be used.
10
 
47
 
48
  == Changelog ==
49
 
50
+ = Version 1.4.4 - 19 Apr 2009 =
51
+ * Minor fix with quicktags and certain snippets that was left out in the last update.
52
+
53
  = Version 1.4.3 - 16 Apr 2009 =
54
  * Fixed an escaping problem with the recently implemented shortcode function, that could cause problems on certain strings.
55
  * Fixed an escaping problem with the quicktag javascript, that could cause problems on certain strings.