List category posts - Version 0.67.1

Version Description

  • Bugfix release, this should fix the issues with Parent Categories listings.
Download this release

Release Info

Developer fernandobt
Plugin Icon 128x128 List category posts
Version 0.67.1
Comparing to
See all releases

Code changes from version 0.67 to 0.67.1

include/lcp-catlist.php CHANGED
@@ -117,7 +117,7 @@ class CatList{
117
  if ( is_array($this->lcp_category_id) ){
118
  return array('category__and' => $this->lcp_category_id);
119
  } else {
120
- if($this->utils->lcp_not_empty('child_categories') && ($this->params['child_categories'] == ('no' || 'false') )){
121
  return array('category__in'=> $this->lcp_category_id);
122
  }
123
  return array('cat'=> $this->lcp_category_id);
117
  if ( is_array($this->lcp_category_id) ){
118
  return array('category__and' => $this->lcp_category_id);
119
  } else {
120
+ if($this->utils->lcp_not_empty('child_categories') && ($this->params['child_categories'] === ('no' || 'false') )){
121
  return array('category__in'=> $this->lcp_category_id);
122
  }
123
  return array('cat'=> $this->lcp_category_id);
list-category-posts.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: List category posts
4
  Plugin URI: https://github.com/picandocodigo/List-Category-Posts
5
  Description: List Category Posts allows you to list posts by category in a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, the number of posts to display and many more parameters. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
6
- Version: 0.67
7
  Author: Fernando Briano
8
  Author URI: http://fernandobriano.com
9
 
3
  Plugin Name: List category posts
4
  Plugin URI: https://github.com/picandocodigo/List-Category-Posts
5
  Description: List Category Posts allows you to list posts by category in a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, the number of posts to display and many more parameters. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
6
+ Version: 0.67.1
7
  Author: Fernando Briano
8
  Author URI: http://fernandobriano.com
9
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate Link: http://picandocodigo.net/programacion/wordpress/list-category-posts
4
  Tags: list, categories, posts, cms
5
  Requires at least: 3.3
6
  Tested up to: 4.3.1
7
- Stable tag: 0.67
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -532,6 +532,9 @@ Template system has changed. Custom templates should be stored in WordPress them
532
 
533
  == Changelog ==
534
 
 
 
 
535
  = 0.67 =
536
  * Adds custom css class to current page in pagination `lcp_currentpage`.
537
  * Adds child_categories parameter to being able to exclude child categories' posts from a list.
4
  Tags: list, categories, posts, cms
5
  Requires at least: 3.3
6
  Tested up to: 4.3.1
7
+ Stable tag: 0.67.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
532
 
533
  == Changelog ==
534
 
535
+ = 0.67.1 =
536
+ * Bugfix release, this should fix the issues with Parent Categories listings.
537
+
538
  = 0.67 =
539
  * Adds custom css class to current page in pagination `lcp_currentpage`.
540
  * Adds child_categories parameter to being able to exclude child categories' posts from a list.