Post Snippets - Version 2.1.1

Version Description

Download this release

Release Info

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

Code changes from version 2.1 to 2.1.1

Files changed (2) hide show
  1. post-snippets.php +2 -2
  2. readme.txt +4 -1
post-snippets.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://wpstorm.net/wordpress-plugins/post-snippets/
5
  Description: Build a library with snippets of HTML, PHP code or reoccurring text that you often use in your posts. Variables to replace parts of the snippet on insert can be used. The snippets can be inserted as-is or as shortcodes.
6
  Author: Johan Steen
7
  Author URI: http://johansteen.se/
8
- Version: 2.1
9
  License: GPLv2 or later
10
  Text Domain: post-snippets
11
 
@@ -629,7 +629,7 @@ function edOpenPostSnippets(myField) {
629
  // Handle PHP shortcodes
630
  $php = "'. $snippet["php"] .'";
631
  if ($php == true) {
632
- $snippet = Post_Snippets::php_eval( $snippet );
633
  }
634
 
635
  // Strip escaping and execute nested shortcodes
5
  Description: Build a library with snippets of HTML, PHP code or reoccurring text that you often use in your posts. Variables to replace parts of the snippet on insert can be used. The snippets can be inserted as-is or as shortcodes.
6
  Author: Johan Steen
7
  Author URI: http://johansteen.se/
8
+ Version: 2.1.1
9
  License: GPLv2 or later
10
  Text Domain: post-snippets
11
 
629
  // Handle PHP shortcodes
630
  $php = "'. $snippet["php"] .'";
631
  if ($php == true) {
632
+ $snippet = PostSnippets::php_eval( $snippet );
633
  }
634
 
635
  // Strip escaping and execute nested shortcodes
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: artstorm
3
  Tags: post, admin, snippet, shortcode, html, custom, page, dynamic, editor, php, code
4
  Requires at least: 3.0
5
  Tested up to: 3.5.1
6
- Stable tag: 2.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -119,6 +119,9 @@ Contributions are appreciated and encouraged.
119
 
120
  == Changelog ==
121
 
 
 
 
122
  = Version 2.1 - 22 Feb 2013 =
123
  * Default values are now respected as shortcode defaults and not only to
124
  populate the insert window's fields.
3
  Tags: post, admin, snippet, shortcode, html, custom, page, dynamic, editor, php, code
4
  Requires at least: 3.0
5
  Tested up to: 3.5.1
6
+ Stable tag: 2.1.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
119
 
120
  == Changelog ==
121
 
122
+ = Version 2.1.1 - 23 Feb 2013 =
123
+ * Fixes a bug that PHP snippets called an old class definition.
124
+
125
  = Version 2.1 - 22 Feb 2013 =
126
  * Default values are now respected as shortcode defaults and not only to
127
  populate the insert window's fields.