Yet Another Related Posts Plugin (YARPP) - Version 4.0.3

Version Description

  • Bugfix: on sites where custom templates are not available, the "thumbnails" display option would get reset when visiting the YARPP settings page
  • Bugfix: the CSS for YARPP's thumbnails display would load at the foot of the page, and therefore would cause some style-flashing. This is fixed for automatic includes, but not for widgets or manual calls.
  • Restoration of the $post global after YARPP is now more robust. Fixes the display of incorrect metadata on some complex themes.
  • YARPP template files no longer recognize Template Name fields in their headers, instead using YARPP Template. This is to avoid confusion with regular page templates.
  • Added "Related Posts" meta box to other "auto display" post types
  • Updated Polish localization
Download this release

Release Info

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

Code changes from version 4.0.3b4 to 4.0.3

Files changed (3) hide show
  1. class-core.php +3 -0
  2. readme.txt +1 -1
  3. yarpp.php +2 -2
class-core.php CHANGED
@@ -338,6 +338,9 @@ class YARPP {
338
  ) )
339
  return;
340
 
 
 
 
341
  $this->enqueue_thumbnails( $this->thumbnail_dimensions() );
342
  }
343
 
338
  ) )
339
  return;
340
 
341
+ if ( $this->get_option('template') !== 'thumbnails' )
342
+ return;
343
+
344
  $this->enqueue_thumbnails( $this->thumbnail_dimensions() );
345
  }
346
 
readme.txt CHANGED
@@ -7,7 +7,7 @@ Donate link: http://tinyurl.com/donatetomitcho
7
  Tags: related, posts, post, pages, page, RSS, feed, feeds
8
  Requires at least: 3.3
9
  Tested up to: 3.5
10
- Stable tag: 4.0.2
11
  License: GPLv2 or later
12
 
13
  Display a list of related entries on your site and feeds based on a unique algorithm. Now with thumbnail support built-in!
7
  Tags: related, posts, post, pages, page, RSS, feed, feeds
8
  Requires at least: 3.3
9
  Tested up to: 3.5
10
+ Stable tag: 4.0.3
11
  License: GPLv2 or later
12
 
13
  Display a list of related entries on your site and feeds based on a unique algorithm. Now with thumbnail support built-in!
yarpp.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: Yet Another Related Posts Plugin
4
  Plugin URI: http://yarpp.org/
5
  Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. Now with Now with thumbnail support built-in!
6
- Version: 4.0.3b4
7
  Author: mitcho (Michael Yoshitaka Erlewine)
8
  Author URI: http://mitcho.com/
9
  Donate link: http://tinyurl.com/donatetomitcho
10
  */
11
 
12
- define('YARPP_VERSION', '4.0.3b4');
13
  define('YARPP_DIR', dirname(__FILE__));
14
  define('YARPP_NO_RELATED', ':(');
15
  define('YARPP_RELATED', ':)');
3
  Plugin Name: Yet Another Related Posts Plugin
4
  Plugin URI: http://yarpp.org/
5
  Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. Now with Now with thumbnail support built-in!
6
+ Version: 4.0.3
7
  Author: mitcho (Michael Yoshitaka Erlewine)
8
  Author URI: http://mitcho.com/
9
  Donate link: http://tinyurl.com/donatetomitcho
10
  */
11
 
12
+ define('YARPP_VERSION', '4.0.3');
13
  define('YARPP_DIR', dirname(__FILE__));
14
  define('YARPP_NO_RELATED', ':(');
15
  define('YARPP_RELATED', ':)');