Post Snippets - Version 1.8.9.2

Version Description

Download this release

Release Info

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

Code changes from version 1.8.9.1 to 1.8.9.2

Files changed (2) hide show
  1. post-snippets.php +2 -2
  2. readme.txt +8 -3
post-snippets.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Post Snippets
4
  Plugin URI: http://wpstorm.net/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.8.9.1
7
  Author: Johan Steen
8
  Author URI: http://johansteen.se/
9
  Text Domain: post-snippets
@@ -455,7 +455,7 @@ function edOpenPostSnippets(myField) {
455
  */
456
  function wp_admin() {
457
  $option_page = add_options_page( 'Post Snippets Options', 'Post Snippets', 'administrator', $this->get_FILE(), array(&$this, 'options_page') );
458
- if ( $option_page ) {
459
  $help = new Post_Snippets_Help( $option_page );
460
  }
461
  }
3
  Plugin Name: Post Snippets
4
  Plugin URI: http://wpstorm.net/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.8.9.2
7
  Author: Johan Steen
8
  Author URI: http://johansteen.se/
9
  Text Domain: post-snippets
455
  */
456
  function wp_admin() {
457
  $option_page = add_options_page( 'Post Snippets Options', 'Post Snippets', 'administrator', $this->get_FILE(), array(&$this, 'options_page') );
458
+ if ( $option_page and class_exists('Post_Snippets_Help') ) {
459
  $help = new Post_Snippets_Help( $option_page );
460
  }
461
  }
readme.txt CHANGED
@@ -4,10 +4,10 @@ Donate link: http://wpstorm.net/wordpress-plugins/post-snippets/#donation
4
  Tags: post, admin, snippet, html, custom, page, dynamic, editor, quicktag
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
- Stable tag: 1.8.9.1
8
 
9
- Keep a library of snippets of text, HTML or PHP code to be used in posts.
10
- Variables can be set for flexibility. Insert directly or as a shortcode.
11
 
12
  == Description ==
13
 
@@ -85,6 +85,11 @@ for questions, answers, support and feature requests.
85
 
86
  == Changelog ==
87
 
 
 
 
 
 
88
  = Version 1.8.9.1 - 11 Jan 2012 =
89
  * A bug fixed with get_post_snippets() that were introduced in the last update.
90
  * Unit test for get_post_snippets() added to automate testing that it won't
4
  Tags: post, admin, snippet, html, custom, page, dynamic, editor, quicktag
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
+ Stable tag: 1.8.9.2
8
 
9
+ Keep a snippet library of text, HTML or PHP code to be used in posts. Variables
10
+ can be set for more flexibility. Inserts directly or as shortcodes.
11
 
12
  == Description ==
13
 
85
 
86
  == Changelog ==
87
 
88
+ = Version 1.8.9.2 - 15 Jan 2012 =
89
+ * Added an additional check to see if Post Snippets is loaded via a
90
+ bootstrapped WP Admin that doesn't set the is_admin() flag, so it works in
91
+ that environment as well.
92
+
93
  = Version 1.8.9.1 - 11 Jan 2012 =
94
  * A bug fixed with get_post_snippets() that were introduced in the last update.
95
  * Unit test for get_post_snippets() added to automate testing that it won't