Yet Another Related Posts Plugin (YARPP) - Version 4.3.3

Version Description

  • Fix 'Undefined index' in YARPP_Cache.php (credit to Derrick Hammer/@pcfreak30)
Download this release

Release Info

Developer jeffparker
Plugin Icon 128x128 Yet Another Related Posts Plugin (YARPP)
Version 4.3.3
Comparing to
See all releases

Code changes from version 4.3.2 to 4.3.3

Files changed (3) hide show
  1. classes/YARPP_Cache.php +1 -1
  2. readme.txt +4 -1
  3. yarpp.php +2 -2
classes/YARPP_Cache.php CHANGED
@@ -272,7 +272,7 @@ abstract class YARPP_Cache {
272
  protected function body_keywords( $ID, $max = 20 ) {
273
  global $wp_current_filter;
274
  $filter_count = array_count_values( $wp_current_filter );
275
- if ( $filter_count['the_content'] > 1 ) {
276
  return '';
277
  }
278
  $post = get_post( $ID );
272
  protected function body_keywords( $ID, $max = 20 ) {
273
  global $wp_current_filter;
274
  $filter_count = array_count_values( $wp_current_filter );
275
+ if ( ! empty( $filter_count['the_content'] ) && $filter_count['the_content'] > 1 ) {
276
  return '';
277
  }
278
  $post = get_post( $ID );
readme.txt CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://www.yarpp.com/
6
  Tags: feeds, pages, posts, related, rss, yarpp, ads, multisite, multilingual, thumbnails, related posts, related content
7
  Requires at least: 3.3
8
  Tested up to: 4.7
9
- Stable tag: 4.3.2
10
  License: GPLv2 or later
11
 
12
  Display a list of related posts on your site based on a powerful unique algorithm. Earn money by including sponsored content!
@@ -283,6 +283,9 @@ YARPP is currently localized in the following languages:
283
 
284
  == Changelog ==
285
 
 
 
 
286
  = 4.3.2 =
287
  * Fix ksort error in YARPP_Cache.php (credit to Derrick Hammer/@pcfreak30)
288
  * Discontinuing the YARPP Pro service as of 12/31/2016
6
  Tags: feeds, pages, posts, related, rss, yarpp, ads, multisite, multilingual, thumbnails, related posts, related content
7
  Requires at least: 3.3
8
  Tested up to: 4.7
9
+ Stable tag: 4.3.3
10
  License: GPLv2 or later
11
 
12
  Display a list of related posts on your site based on a powerful unique algorithm. Earn money by including sponsored content!
283
 
284
  == Changelog ==
285
 
286
+ = 4.3.3 =
287
+ * Fix 'Undefined index' in YARPP_Cache.php (credit to Derrick Hammer/@pcfreak30)
288
+
289
  = 4.3.2 =
290
  * Fix ksort error in YARPP_Cache.php (credit to Derrick Hammer/@pcfreak30)
291
  * Discontinuing the YARPP Pro service as of 12/31/2016
yarpp.php CHANGED
@@ -2,7 +2,7 @@
2
  /*----------------------------------------------------------------------------------------------------------------------
3
  Plugin Name: Yet Another Related Posts Plugin
4
  Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm. Enabling YARPP Pro gives you access to even more powerful features. <a href="http://www.yarpp.com" target="_blank">Find out more</a>.
5
- Version: 4.3.2
6
  Author: Adknowledge
7
  Author URI: http://www.yarpp.com/
8
  Plugin URI: http://www.yarpp.com/
@@ -14,7 +14,7 @@ if(!defined('WP_CONTENT_DIR')){
14
  define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
15
  }
16
 
17
- define('YARPP_VERSION', '4.3.2');
18
  define('YARPP_DIR', dirname(__FILE__));
19
  define('YARPP_URL', plugins_url('',__FILE__));
20
  define('YARPP_NO_RELATED', ':(');
2
  /*----------------------------------------------------------------------------------------------------------------------
3
  Plugin Name: Yet Another Related Posts Plugin
4
  Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm. Enabling YARPP Pro gives you access to even more powerful features. <a href="http://www.yarpp.com" target="_blank">Find out more</a>.
5
+ Version: 4.3.3
6
  Author: Adknowledge
7
  Author URI: http://www.yarpp.com/
8
  Plugin URI: http://www.yarpp.com/
14
  define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
15
  }
16
 
17
+ define('YARPP_VERSION', '4.3.3');
18
  define('YARPP_DIR', dirname(__FILE__));
19
  define('YARPP_URL', plugins_url('',__FILE__));
20
  define('YARPP_NO_RELATED', ':(');