Content Blocks (Custom Post Widget) - Version 2.5.2

Version Description

Changed require to require_once in custom-post-widget.php to solve a possible issue reported by John Sundberg. Updated SE translation files as provided by Andreas Larsson.

Download this release

Release Info

Developer vanderwijk
Plugin Icon 128x128 Content Blocks (Custom Post Widget)
Version 2.5.2
Comparing to
See all releases

Code changes from version 2.5.1 to 2.5.2

Files changed (2) hide show
  1. custom-post-widget.php +4 -4
  2. readme.txt +4 -0
custom-post-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Custom Post Widget
4
  Plugin URI: http://www.vanderwijk.com/wordpress/wordpress-custom-post-widget/
5
  Description: Show the content of a custom post of the type 'content_block' in a widget or with a shortcode.
6
- Version: 2.5.1
7
  Author: Johan van der Wijk
8
  Author URI: http://www.vanderwijk.com
9
  License: GPL2
@@ -38,9 +38,9 @@ function custom_post_widget_plugin_init() {
38
 
39
  // Loads the widgets packaged with the plugin.
40
  function custom_post_widget_load_widgets() {
41
- require( 'post-widget.php' );
42
  register_widget( 'custom_post_widget' );
43
  }
44
 
45
- require( 'meta-box.php' );
46
- require( 'popup.php' );
3
  Plugin Name: Custom Post Widget
4
  Plugin URI: http://www.vanderwijk.com/wordpress/wordpress-custom-post-widget/
5
  Description: Show the content of a custom post of the type 'content_block' in a widget or with a shortcode.
6
+ Version: 2.5.2
7
  Author: Johan van der Wijk
8
  Author URI: http://www.vanderwijk.com
9
  License: GPL2
38
 
39
  // Loads the widgets packaged with the plugin.
40
  function custom_post_widget_load_widgets() {
41
+ require_once( 'post-widget.php' );
42
  register_widget( 'custom_post_widget' );
43
  }
44
 
45
+ require_once( 'meta-box.php' );
46
+ require_once( 'popup.php' );
readme.txt CHANGED
@@ -103,6 +103,10 @@ Creating and supporting this plugin takes up a lot of my free time, therefore I
103
 
104
  == Changelog ==
105
 
 
 
 
 
106
  = 2.5 =
107
  Added 'Content Block Information' to overview page, updated styling to reflect new 3.8 interface and rewrote javaScript code for inserting shortcode tag
108
 
103
 
104
  == Changelog ==
105
 
106
+ = 2.5.2 =
107
+ Changed require to require_once in custom-post-widget.php to solve a possible issue reported by John Sundberg.
108
+ Updated SE translation files as provided by Andreas Larsson.
109
+
110
  = 2.5 =
111
  Added 'Content Block Information' to overview page, updated styling to reflect new 3.8 interface and rewrote javaScript code for inserting shortcode tag
112