Advanced Excerpt - Version 4.3.5

Version Description

( February 6th, 2020 ) = * Fix - Issue when excerpt ends in a foreign character

Download this release

Release Info

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

Code changes from version 4.3.4 to 4.3.5

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.3.4
7
Author: WPKube
8
Author URI: https://wpkube.com
9
*/
10
11
- $GLOBALS['advanced_excerpt_version'] = '4.3.4';
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.3.5
7
Author: WPKube
8
Author URI: https://wpkube.com
9
*/
10
11
+ $GLOBALS['advanced_excerpt_version'] = '4.3.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
@@ -351,7 +351,7 @@ class Advanced_Excerpt {
351
$c = mb_strlen( $chars );
352
if ( $c + $w > $length && 'sentence' != $finish ) { // Token is too long
353
$c = ( 'word' == $finish ) ? $c : $length - $w; // Keep token to finish word
354
- $t = substr( $t, 0, $c );
355
}
356
$w += $c;
357
}
351
$c = mb_strlen( $chars );
352
if ( $c + $w > $length && 'sentence' != $finish ) { // Token is too long
353
$c = ( 'word' == $finish ) ? $c : $length - $w; // Keep token to finish word
354
+ $t = mb_substr( $t, 0, $c );
355
}
356
$w += $c;
357
}
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: fancythemes, WPKube
3
Tags: post excerpt, excerpt, post, content, formatting
4
Requires at least: 3.2
5
Tested up to: 5.3
6
- Stable tag: 4.3.4
7
License: GPLv3
8
9
Control the appearance of WordPress post excerpts
@@ -95,6 +95,9 @@ However, you can [start The Loop manually](http://codex.wordpress.org/The_Loop#M
95
2. An example of an excerpt generated by the plugin
96
97
== Changelog ==
98
= 4.3.4 ( December 17th, 2019 ) =
99
* Fix - Sentence finish option not working properly if . ? or ! are followed by another character such as " for example
100
3
Tags: post excerpt, excerpt, post, content, formatting
4
Requires at least: 3.2
5
Tested up to: 5.3
6
+ Stable tag: 4.3.5
7
License: GPLv3
8
9
Control the appearance of WordPress post excerpts
95
2. An example of an excerpt generated by the plugin
96
97
== Changelog ==
98
+ = 4.3.5 ( February 6th, 2020 ) =
99
+ * Fix - Issue when excerpt ends in a foreign character
100
+
101
= 4.3.4 ( December 17th, 2019 ) =
102
* Fix - Sentence finish option not working properly if . ? or ! are followed by another character such as " for example
103