Advanced Excerpt - Version 4.3.0

Version Description

( June 14th, 2019 ) = * Fix - Conflict with Sassy Social Share plugin

Download this release

Release Info

Developer FancyThemes
Plugin Icon wp plugin Advanced Excerpt
Version 4.3.0
Comparing to
See all releases

Code changes from version 4.2.9 to 4.3.0

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.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/' );
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.0
7
  Author: WPKube
8
  Author URI: https://wpkube.com
9
  */
10
 
11
+ $GLOBALS['advanced_excerpt_version'] = '4.3.0';
12
 
13
  function advanced_excerpt_load_textdomain() {
14
  load_plugin_textdomain( 'advanced-excerpt', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
class/advanced-excerpt.php CHANGED
@@ -219,6 +219,7 @@ class Advanced_Excerpt {
219
  }
220
 
221
  function filter( $content ) {
 
222
  extract( wp_parse_args( $this->options, $this->default_options ), EXTR_SKIP );
223
 
224
  if ( true === apply_filters( 'advanced_excerpt_skip_excerpt_filtering', false ) ) {
@@ -297,6 +298,7 @@ class Advanced_Excerpt {
297
  }
298
 
299
  return apply_filters( 'advanced_excerpt_content', $text );
 
300
  }
301
 
302
  function text_excerpt( $text, $length, $length_type, $finish ) {
@@ -372,7 +374,7 @@ class Advanced_Excerpt {
372
  * There was previously a problem where our 'read-more' links were being appending incorrectly into unsuitable HTML tags.
373
  * As such we're now maintaining a whitelist of HTML tags that are suitable for being appended into.
374
  */
375
- $allow_tags_to_append_into = apply_filters( 'advanced_excerpt_allow_tags_to_append_into', array( 'p', 'div', 'article', 'section' ) );
376
 
377
  if( !in_array( $last_tag, $allow_tags_to_append_into ) ) {
378
  // After the content
219
  }
220
 
221
  function filter( $content ) {
222
+
223
  extract( wp_parse_args( $this->options, $this->default_options ), EXTR_SKIP );
224
 
225
  if ( true === apply_filters( 'advanced_excerpt_skip_excerpt_filtering', false ) ) {
298
  }
299
 
300
  return apply_filters( 'advanced_excerpt_content', $text );
301
+
302
  }
303
 
304
  function text_excerpt( $text, $length, $length_type, $finish ) {
374
  * There was previously a problem where our 'read-more' links were being appending incorrectly into unsuitable HTML tags.
375
  * As such we're now maintaining a whitelist of HTML tags that are suitable for being appended into.
376
  */
377
+ $allow_tags_to_append_into = apply_filters( 'advanced_excerpt_allow_tags_to_append_into', array( 'p', 'article', 'section' ) );
378
 
379
  if( !in_array( $last_tag, $allow_tags_to_append_into ) ) {
380
  // After the content
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.2
6
- Stable tag: 4.2.9
7
  License: GPLv3
8
 
9
  Control the appearance of WordPress post excerpts
@@ -95,6 +95,8 @@ 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
 
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
3
  Tags: post excerpt, excerpt, post, content, formatting
4
  Requires at least: 3.2
5
  Tested up to: 5.2
6
+ Stable tag: 4.3.0
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.0 ( June 14th, 2019 ) =
99
+ * Fix - Conflict with Sassy Social Share plugin
100
 
101
  = 4.2.9 ( May 27th, 2019) =
102
  * New - Filter for developers to change the read more text. The filter is advanced_excerpt_read_more_text