Version Description
- Bug fixed: Some code appears in excerpt
Download this release
Release Info
Developer | PT Guy |
Plugin | Content Views – Post Grid & List for WordPress |
Version | 1.4.8 |
Comparing to | |
See all releases |
Code changes from version 1.4.6 to 1.4.8
- README.txt +5 -2
- content-views.php +2 -2
- includes/functions.php +1 -3
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: post, posts, page, pages, query, queries, search, display, show, grid, layout, author, blog, categories, category, comment, content, custom, editor, filter, Formatting, image, list, meta, plugin, responsive, shortcode, excerpt, title, tag, term, Taxonomy, thumbnail, pagination, date, scrollable, slider, collapsible
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -144,8 +144,11 @@ You can create Unlimited Views, in Unlimited websites
|
|
144 |
|
145 |
== Changelog ==
|
146 |
|
|
|
|
|
|
|
147 |
= 1.4.6 =
|
148 |
-
* Improvement: Allow some HTML tags (
|
149 |
* Update: Exclude Views from front-end search results
|
150 |
|
151 |
= 1.4.5 =
|
4 |
Tags: post, posts, page, pages, query, queries, search, display, show, grid, layout, author, blog, categories, category, comment, content, custom, editor, filter, Formatting, image, list, meta, plugin, responsive, shortcode, excerpt, title, tag, term, Taxonomy, thumbnail, pagination, date, scrollable, slider, collapsible
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.4.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
144 |
|
145 |
== Changelog ==
|
146 |
|
147 |
+
= 1.4.8 =
|
148 |
+
* Bug fixed: Some code appears in excerpt
|
149 |
+
|
150 |
= 1.4.6 =
|
151 |
+
* Improvement: Allow some HTML tags (a, br, strong, em, i, ul, ol, li) in excerpt
|
152 |
* Update: Exclude Views from front-end search results
|
153 |
|
154 |
= 1.4.5 =
|
content-views.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: Content Views
|
11 |
* Plugin URI: http://wordpress.org/plugins/content-views-query-and-display-post-page/
|
12 |
* Description: Query and display <strong>posts, pages</strong> in awesome layouts (<strong>grid, scrollable list, collapsible list</strong>) easier than ever, without coding!
|
13 |
-
* Version: 1.4.
|
14 |
* Author: PT Guy
|
15 |
* Author URI: http://profiles.wordpress.org/pt-guy
|
16 |
* Text Domain: content-views
|
@@ -27,7 +27,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
27 |
/*
|
28 |
* Define Constant
|
29 |
*/
|
30 |
-
define( 'PT_CV_VERSION', '1.4.
|
31 |
define( 'PT_CV_FILE', __FILE__ );
|
32 |
$pt_cv_path = plugin_dir_path( __FILE__ );
|
33 |
include_once( $pt_cv_path . 'includes/defines.php' );
|
10 |
* Plugin Name: Content Views
|
11 |
* Plugin URI: http://wordpress.org/plugins/content-views-query-and-display-post-page/
|
12 |
* Description: Query and display <strong>posts, pages</strong> in awesome layouts (<strong>grid, scrollable list, collapsible list</strong>) easier than ever, without coding!
|
13 |
+
* Version: 1.4.8
|
14 |
* Author: PT Guy
|
15 |
* Author URI: http://profiles.wordpress.org/pt-guy
|
16 |
* Text Domain: content-views
|
27 |
/*
|
28 |
* Define Constant
|
29 |
*/
|
30 |
+
define( 'PT_CV_VERSION', '1.4.8' );
|
31 |
define( 'PT_CV_FILE', __FILE__ );
|
32 |
$pt_cv_path = plugin_dir_path( __FILE__ );
|
33 |
include_once( $pt_cv_path . 'includes/defines.php' );
|
includes/functions.php
CHANGED
@@ -189,8 +189,6 @@ if ( ! class_exists( 'PT_CV_Functions' ) ) {
|
|
189 |
|
190 |
// Trim space, dot at the end of string
|
191 |
$result = rtrim( $result, '\s.' );
|
192 |
-
// Trim start, end p
|
193 |
-
$result = trim( $result, '<p></p>' );
|
194 |
|
195 |
return $result;
|
196 |
}
|
@@ -205,7 +203,7 @@ if ( ! class_exists( 'PT_CV_Functions' ) ) {
|
|
205 |
static function pt_strip_tags( $string ) {
|
206 |
$string = preg_replace( '@<(script|style)[^>]*?>.*?</\\1>@si', '', $string );
|
207 |
# allow some tags
|
208 |
-
$string = strip_tags( $string, '<
|
209 |
|
210 |
return trim( $string );
|
211 |
}
|
189 |
|
190 |
// Trim space, dot at the end of string
|
191 |
$result = rtrim( $result, '\s.' );
|
|
|
|
|
192 |
|
193 |
return $result;
|
194 |
}
|
203 |
static function pt_strip_tags( $string ) {
|
204 |
$string = preg_replace( '@<(script|style)[^>]*?>.*?</\\1>@si', '', $string );
|
205 |
# allow some tags
|
206 |
+
$string = strip_tags( $string, '<a><br><strong><em><i><ul><ol><li>' );
|
207 |
|
208 |
return trim( $string );
|
209 |
}
|