Permalink
Browse files

Fixed bug with categorypage=yes

git-svn-id: http://plugins.svn.wordpress.org/list-category-posts/trunk@474314 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information...
1 parent f4be22c commit f145478926138e760ea70be67046b0c5ea17dd59 @picandocodigo committed Dec 13, 2011
Showing with 8 additions and 4 deletions.
  1. +1 −1 include/CatList.php
  2. +1 −1 list_cat_posts.php
  3. +6 −2 readme.txt
View
2 include/CatList.php
@@ -69,7 +69,7 @@ private function set_lcp_parameters(){
private function get_lcp_category(){
if ( isset($this->params['categorypage']) && $this->params['categorypage'] == 'yes' ){
- $this->lcp_category_id = lcp_get_current_category();
+ $this->lcp_category_id = $this->lcp_get_current_category();
} elseif ( !empty($this->params['name']) ){
if (preg_match('/,/', $this->params['name'])){
$categories = '';
View
2 list_cat_posts.php
@@ -3,7 +3,7 @@
Plugin Name: List category posts
Plugin URI: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/
Description: List Category Posts allows you to list posts from a category into 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, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
-Version: 0.22.1
+Version: 0.22.2
Author: Fernando Briano
Author URI: http://picandocodigo.net/
*/
View
8 readme.txt
@@ -3,8 +3,8 @@ Contributors: fernandobt
Donate Link: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/#support
Tags: list, categories, posts, cms
Requires at least: 2.8
-Tested up to: 3.2.1
-Stable tag: 0.22.1
+Tested up to: 3.3
+Stable tag: 0.22.2
== Description ==
List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode.
@@ -165,6 +165,10 @@ Template system has changed. Custom templates should be stored in WordPress them
== Changelog ==
+= 0.22.2 =
+ * Fixed bug with the categorypage=yes param.
+ * Tested with WordPress 3.3.
+
= 0.22.1 =
* Fixed accidentally deleted line which made the catlink=yes param not work.

0 comments on commit f145478

Please sign in to comment.