Version Description
- Fixed the "remove shortcodes from excerpt" functionality
Download this release
Release Info
Developer | wpkube |
Plugin | Advanced Excerpt |
Version | 4.2.5 |
Comparing to | |
See all releases |
Code changes from version 4.2.4 to 4.2.5
- advanced-excerpt.php +2 -2
- class/advanced-excerpt.php +6 -0
- readme.txt +5 -2
advanced-excerpt.php
CHANGED
@@ -3,12 +3,12 @@
|
|
3 |
Plugin Name: Advanced Excerpt
|
4 |
Plugin URI: http://wordpress.org/plugins/advanced-excerpt/
|
5 |
Description: Control the appearance of WordPress post excerpts
|
6 |
-
Version: 4.2.
|
7 |
Author: WPKube
|
8 |
Author URI: https://wpkube.com
|
9 |
*/
|
10 |
|
11 |
-
$GLOBALS['advanced_excerpt_version'] = '4.2.
|
12 |
|
13 |
function advanced_excerpt_load_textdomain() {
|
14 |
load_plugin_textdomain( 'advanced-excerpt', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
3 |
Plugin Name: Advanced Excerpt
|
4 |
Plugin URI: http://wordpress.org/plugins/advanced-excerpt/
|
5 |
Description: Control the appearance of WordPress post excerpts
|
6 |
+
Version: 4.2.5
|
7 |
Author: WPKube
|
8 |
Author URI: https://wpkube.com
|
9 |
*/
|
10 |
|
11 |
+
$GLOBALS['advanced_excerpt_version'] = '4.2.5';
|
12 |
|
13 |
function advanced_excerpt_load_textdomain() {
|
14 |
load_plugin_textdomain( 'advanced-excerpt', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
class/advanced-excerpt.php
CHANGED
@@ -240,6 +240,12 @@ class Advanced_Excerpt {
|
|
240 |
}
|
241 |
|
242 |
$text = get_the_content( '' );
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
$text = apply_filters( 'the_content', $text );
|
244 |
|
245 |
// add our filter back in
|
240 |
}
|
241 |
|
242 |
$text = get_the_content( '' );
|
243 |
+
|
244 |
+
// remove shortcodes
|
245 |
+
if ( $no_shortcode ) {
|
246 |
+
$text = strip_shortcodes( $text );
|
247 |
+
}
|
248 |
+
|
249 |
$text = apply_filters( 'the_content', $text );
|
250 |
|
251 |
// add our filter back in
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: fancythemes, WPKube
|
3 |
Tags: post excerpt, excerpt, post, content, formatting
|
4 |
Requires at least: 3.2
|
5 |
-
Tested up to: 4.9.
|
6 |
-
Stable tag: 4.2.
|
7 |
License: GPLv3
|
8 |
|
9 |
Control the appearance of WordPress post excerpts
|
@@ -96,6 +96,9 @@ However, you can [start The Loop manually](http://codex.wordpress.org/The_Loop#M
|
|
96 |
|
97 |
== Changelog ==
|
98 |
|
|
|
|
|
|
|
99 |
= 4.2.4 =
|
100 |
* Compatibility tested for latest version of WordPress ( 4.9.6 )
|
101 |
* Minor tweaks
|
2 |
Contributors: fancythemes, WPKube
|
3 |
Tags: post excerpt, excerpt, post, content, formatting
|
4 |
Requires at least: 3.2
|
5 |
+
Tested up to: 4.9.7
|
6 |
+
Stable tag: 4.2.5
|
7 |
License: GPLv3
|
8 |
|
9 |
Control the appearance of WordPress post excerpts
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
+
= 4.2.5 =
|
100 |
+
* Fixed the "remove shortcodes from excerpt" functionality
|
101 |
+
|
102 |
= 4.2.4 =
|
103 |
* Compatibility tested for latest version of WordPress ( 4.9.6 )
|
104 |
* Minor tweaks
|