Advanced Excerpt - Version 4.2.9

Version Description

( May 27th, 2019) = * New - Filter for developers to change the read more text. The filter is advanced_excerpt_read_more_text * Tweak - The read more text option now accept shortcodes

Download this release

Release Info

Developer wpkube
Plugin Icon wp plugin Advanced Excerpt
Version 4.2.9
Comparing to
See all releases

Code changes from version 4.2.8 to 4.2.9

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.8
7
Author: WPKube
8
Author URI: https://wpkube.com
9
*/
10
11
- $GLOBALS['advanced_excerpt_version'] = '4.2.8';
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.9
7
Author: WPKube
8
Author URI: https://wpkube.com
9
*/
10
11
+ $GLOBALS['advanced_excerpt_version'] = '4.2.9';
12
13
function advanced_excerpt_load_textdomain() {
14
load_plugin_textdomain( 'advanced-excerpt', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
class/advanced-excerpt.php CHANGED
@@ -355,6 +355,9 @@ class Advanced_Excerpt {
355
}
356
357
$read_more = str_replace( '{title}', get_the_title(), $read_more );
358
$ellipsis .= sprintf( $link_template, get_permalink(), $read_more, $screen_reader_html );
359
360
}
355
}
356
357
$read_more = str_replace( '{title}', get_the_title(), $read_more );
358
+ $read_more = do_shortcode( $read_more );
359
+ $read_more = apply_filters( 'advanced_excerpt_read_more_text', $read_more );
360
+
361
$ellipsis .= sprintf( $link_template, get_permalink(), $read_more, $screen_reader_html );
362
363
}
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: 5.1
6
- Stable tag: 4.2.8
7
License: GPLv3
8
9
Control the appearance of WordPress post excerpts
@@ -96,6 +96,10 @@ However, you can [start The Loop manually](http://codex.wordpress.org/The_Loop#M
96
97
== Changelog ==
98
99
= 4.2.8 =
100
* New - Screen reader text is now optional, can be enabled in the options
101
* New - Added option to remove the "read more link" if the full post content is shown
2
Contributors: fancythemes, WPKube
3
Tags: post excerpt, excerpt, post, content, formatting
4
Requires at least: 3.2
5
+ Tested up to: 5.2
6
+ Stable tag: 4.2.9
7
License: GPLv3
8
9
Control the appearance of WordPress post excerpts
96
97
== Changelog ==
98
99
+ = 4.2.9 ( May 27th, 2019) =
100
+ * New - Filter for developers to change the read more text. The filter is advanced_excerpt_read_more_text
101
+ * Tweak - The read more text option now accept shortcodes
102
+
103
= 4.2.8 =
104
* New - Screen reader text is now optional, can be enabled in the options
105
* New - Added option to remove the "read more link" if the full post content is shown