Flexible Posts Widget - Version 1.0.5

Version Description

  • Bug fix - Removed post_status 'private' from wp_queries. We don't want to show private posts in our loops.
Download this release

Release Info

Developer dpe415
Plugin Icon wp plugin Flexible Posts Widget
Version 1.0.5
Comparing to
See all releases

Code changes from version 1.0.4 to 1.0.5

Files changed (2) hide show
  1. flexible-posts-widget.php +3 -3
  2. readme.txt +4 -1
flexible-posts-widget.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Flexible Posts Widget
4
  Plugin URI: http://wordpress.org/extend/plugins/flexible-posts-widget/
5
  Author: dpe415
6
  Author URI: http://dpedesign.com
7
- Version: 1.0.4
8
  Description: An advanced posts display widget with many options: post by taxonomy & term or post type, thumbnails, order & order by, customizable templates
9
  */
10
 
@@ -63,14 +63,14 @@ class DPE_Flexible_Posts_Widget extends WP_Widget {
63
  'terms' => $term,
64
  )
65
  ),
66
- 'post_status' => array('publish', 'private', 'inherit'),
67
  'posts_per_page' => $number,
68
  'orderby' => $orderby,
69
  'order' => $order,
70
  );
71
  } else {
72
  $args = array(
73
- 'post_status' => array('publish', 'private', 'inherit'),
74
  'post_type' => $posttype,
75
  'posts_per_page' => $number,
76
  'orderby' => $orderby,
4
  Plugin URI: http://wordpress.org/extend/plugins/flexible-posts-widget/
5
  Author: dpe415
6
  Author URI: http://dpedesign.com
7
+ Version: 1.0.5
8
  Description: An advanced posts display widget with many options: post by taxonomy & term or post type, thumbnails, order & order by, customizable templates
9
  */
10
 
63
  'terms' => $term,
64
  )
65
  ),
66
+ 'post_status' => array('publish', 'inherit'),
67
  'posts_per_page' => $number,
68
  'orderby' => $orderby,
69
  'order' => $order,
70
  );
71
  } else {
72
  $args = array(
73
+ 'post_status' => array('publish', 'inherit'),
74
  'post_type' => $posttype,
75
  'posts_per_page' => $number,
76
  'orderby' => $orderby,
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: widget, widgets, posts, recent posts, thumbnails, custom post types, custom taxonomies
5
  Requires at least: 3.2
6
  Tested up to: 3.3.2
7
- Stable tag: 1.0.4
8
 
9
  An advanced posts display widget with many options. Display posts in your sidebars exactly the way you like!
10
 
@@ -69,6 +69,9 @@ Edit the new file in your theme to your desired HTML layout. Please do not edit
69
 
70
  == Changelog ==
71
 
 
 
 
72
  = 1.0.4 =
73
  * Fixed an issue where post thumbnails aren't displaying.
74
 
4
  Tags: widget, widgets, posts, recent posts, thumbnails, custom post types, custom taxonomies
5
  Requires at least: 3.2
6
  Tested up to: 3.3.2
7
+ Stable tag: 1.0.5
8
 
9
  An advanced posts display widget with many options. Display posts in your sidebars exactly the way you like!
10
 
69
 
70
  == Changelog ==
71
 
72
+ = 1.0.5 =
73
+ * Bug fix - Removed post_status 'private' from wp_queries. We don't want to show private posts in our loops.
74
+
75
  = 1.0.4 =
76
  * Fixed an issue where post thumbnails aren't displaying.
77