Version Description
- Fixes some debug warnings (Ruby's nil doesn't apply in the PHP World)
Download this release
Release Info
Developer | fernandobt |
Plugin | List category posts |
Version | 0.42.1 |
Comparing to | |
See all releases |
Code changes from version 0.42.0 to 0.42.1
- include/CatListDisplayer.php +2 -2
- list_cat_posts.php +1 -1
- readme.txt +4 -1
include/CatListDisplayer.php
CHANGED
@@ -142,7 +142,7 @@ class CatListDisplayer {
|
|
142 |
return $pag_output;
|
143 |
}
|
144 |
|
145 |
-
private function lcp_page_link($page, $char =
|
146 |
$current_page = $this->catlist->get_page();
|
147 |
$link = '';
|
148 |
|
@@ -159,7 +159,7 @@ class CatListDisplayer {
|
|
159 |
$amp . "lcp_page" . $this->catlist->get_instance() . "=". $page .
|
160 |
"#lcp_instance_" . $this->catlist->get_instance();
|
161 |
$link .= "<li><a href='$page_link' title='$page'>";
|
162 |
-
($char !=
|
163 |
$link .= "</a></li>";
|
164 |
}
|
165 |
return $link;
|
142 |
return $pag_output;
|
143 |
}
|
144 |
|
145 |
+
private function lcp_page_link($page, $char = null){
|
146 |
$current_page = $this->catlist->get_page();
|
147 |
$link = '';
|
148 |
|
159 |
$amp . "lcp_page" . $this->catlist->get_instance() . "=". $page .
|
160 |
"#lcp_instance_" . $this->catlist->get_instance();
|
161 |
$link .= "<li><a href='$page_link' title='$page'>";
|
162 |
+
($char != null) ? ($link .= $char) : ($link .= $page);
|
163 |
$link .= "</a></li>";
|
164 |
}
|
165 |
return $link;
|
list_cat_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 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].
|
6 |
-
Version: 0.42.
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://picandocodigo.net/
|
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 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].
|
6 |
+
Version: 0.42.1
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://picandocodigo.net/
|
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: 3.8
|
7 |
-
Stable tag: 0.42.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -385,6 +385,9 @@ Template system has changed. Custom templates should be stored in WordPress them
|
|
385 |
|
386 |
== Changelog ==
|
387 |
|
|
|
|
|
|
|
388 |
= 0.42 =
|
389 |
* Fixes excludeposts=this.
|
390 |
* Adds customfield_tag and customfield_class to customize an HTML tag
|
4 |
Tags: list, categories, posts, cms
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.8
|
7 |
+
Stable tag: 0.42.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
385 |
|
386 |
== Changelog ==
|
387 |
|
388 |
+
= 0.42.1 =
|
389 |
+
* Fixes some debug warnings (Ruby's nil doesn't apply in the PHP World)
|
390 |
+
|
391 |
= 0.42 =
|
392 |
* Fixes excludeposts=this.
|
393 |
* Adds customfield_tag and customfield_class to customize an HTML tag
|