Advanced Excerpt - Version 4.3.2

Version Description

( September 24th, 2019 ) = * Fix - Conflict with "The Events Calendar" plugin

Download this release

Release Info

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

Code changes from version 4.3.1 to 4.3.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.3.1
7
  Author: WPKube
8
  Author URI: https://wpkube.com
9
  */
10
 
11
- $GLOBALS['advanced_excerpt_version'] = '4.3.1';
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.2
7
  Author: WPKube
8
  Author URI: https://wpkube.com
9
  */
10
 
11
+ $GLOBALS['advanced_excerpt_version'] = '4.3.2';
12
 
13
  function advanced_excerpt_load_textdomain() {
14
  load_plugin_textdomain( 'advanced-excerpt', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
class/advanced-excerpt.php CHANGED
@@ -229,7 +229,11 @@ class Advanced_Excerpt {
229
 
230
  if ( true === apply_filters( 'advanced_excerpt_skip_excerpt_filtering', false ) ) {
231
  return $content;
232
- }
 
 
 
 
233
 
234
  global $post;
235
  if ( $the_content_no_break && false !== strpos( $post->post_content, '<!--more-->' ) && 'content' == $this->filter_type ) {
@@ -259,7 +263,7 @@ class Advanced_Excerpt {
259
 
260
  // add our filter back in
261
  if ( $content_has_filter ) {
262
- add_filter( 'the_content', array( $this, 'filter_content' ) );
263
  }
264
 
265
  // From the default wp_trim_excerpt():
229
 
230
  if ( true === apply_filters( 'advanced_excerpt_skip_excerpt_filtering', false ) ) {
231
  return $content;
232
+ }
233
+
234
+ if ( is_post_type_archive( 'tribe_events' ) ) {
235
+ return $content;
236
+ }
237
 
238
  global $post;
239
  if ( $the_content_no_break && false !== strpos( $post->post_content, '<!--more-->' ) && 'content' == $this->filter_type ) {
263
 
264
  // add our filter back in
265
  if ( $content_has_filter ) {
266
+ add_filter( 'the_content', array( $this, 'filter_content' ) );
267
  }
268
 
269
  // From the default wp_trim_excerpt():
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.3.1
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.1 ( June 21st, 2019 ) =
99
  * New - Option to disable the functionality for WooCommerce products
100
 
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.2
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.2 ( September 24th, 2019 ) =
99
+ * Fix - Conflict with "The Events Calendar" plugin
100
+
101
  = 4.3.1 ( June 21st, 2019 ) =
102
  * New - Option to disable the functionality for WooCommerce products
103