Yet Another Related Posts Plugin (YARPP) - Version 3.5.3

Version Description

  • Bugfix: Fixed a common cause of "no related posts"!
  • Better post revision handling
  • Bugfix: setup wasn't automatic for network activations.
  • Code cleanup:
    • Bugfix: tables should be created using WordPress charset settings
    • YARPP_Cache_*::update methods are now protected
    • Simplified some post status transition handling
    • Ensure that delete_post hook receives relevant post ID information
    • Various functions now refer to the enforce method which will activate if it's a new install, or else upgrade if necessary. (Part of the fix for the network activation above.)
Download this release

Release Info

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

Code changes from version 3.5.3b4 to 3.5.3

Files changed (2) hide show
  1. readme.txt +24 -19
  2. yarpp.php +2 -2
readme.txt CHANGED
@@ -7,24 +7,24 @@ Donate link: http://tinyurl.com/donatetomitcho
7
  Tags: related, posts, post, pages, page, RSS, feed, feeds
8
  Requires at least: 3.1
9
  Tested up to: 3.5
10
- Stable tag: 3.5.2
 
11
 
12
  Display a list of related entries on your site and feeds based on a unique algorithm. Now with custom post type support!
13
 
14
  == Description ==
15
 
16
- Yet Another Related Posts Plugin (YARPP) gives you a list of posts and/or pages related to the current entry, introducing the reader to other relevant content on your site. Key features include:
17
 
18
- 1. **Templating**: The [YARPP templating system](http://mitcho.com/blog/projects/yarpp-3-templates/) puts you in charge of how your posts are displayed.
19
- 2. **Related posts, pages, and custom post types**: [Learn about CPT support](http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/other_notes/). **New in 3.5!**
20
- 3. **An advanced and versatile algorithm**: Using a customizable algorithm considering post titles, content, tags, categories, and custom taxonomies, YARPP finds related content from across your site. [Learn more](http://wordpress.tv/2011/01/29/michael-%E2%80%9Cmitcho%E2%80%9D-erlewine-the-yet-another-related-posts-plugin-algorithm-explained/). **Improved and optimized in 3.5!**
21
- 4. **Caching**: YARPP organically caches the related posts data as your site is visited, greatly improving performance.
22
- 5. **Related posts in RSS feeds**: Display related posts in your RSS and Atom feeds with custom display options.
23
- 6. **Disallowing certain tags or categories**: You can choose certain tags or categories as disallowed, meaning any page or post with such tags or categories will not be served up by the plugin.
24
 
25
- This plugin requires PHP 5 and MySQL 4.1 or greater.
26
 
27
- **See [other plugins by mitcho](http://profiles.wordpress.org/users/mitchoyoshitaka/)**.
28
 
29
  = A note on support (June 2010) =
30
 
@@ -34,17 +34,23 @@ I try to respond to inquiries on the forums on a regular basis and hope to build
34
 
35
  = Testimonials =
36
 
 
37
  "One of my favorite [plugin]s I just activated on my blog is called Yet Another Related Posts Plugin... I've been blogging seven or eight years now so I have a lot of archives, and it actually surprises me sometimes when I blog about something and I visit the permalink to see I've written about it before... and it also increases the traffic on your blog because when they come in just to one entry, they'll see this other stuff going on."
 
38
 
39
- - [Matt Mullenweg](http://ma.tt), WordPress creator
40
 
 
41
  "The first one I ended up trying was Yet Another Related Posts Plugin (YARPP), and mitcho has really done a fantastic job on it:
42
 
43
- * It’s trivial to install.
44
- * You dont have to edit your WordPress template.
45
- * The relevance is good: the suggested posts are related, and you can tweak thresholds and how things are computed if you want."
 
 
 
46
 
47
- -[Matt Cutts](http://www.mattcutts.com/blog/wordpress-plugin-related-posts/), head of Webspam, Google
48
 
49
  == Installation ==
50
 
@@ -233,12 +239,11 @@ If you are a bilingual speaker of English and another language and an avid user
233
 
234
  = 3.5.3 =
235
 
236
- * [Potential bugfix to some "no related posts"](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-no-related-posts-7)
237
- * Ensure YARPP functions do not operate on post revisions
238
- * Removed one way in which it would incorrectly return "no related posts"
239
  * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-database-errors-upon-activation): setup wasn't automatic for network activations.
240
  * Code cleanup:
241
- * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-latin1-instead-of-utf-8?replies=3): tables should be created using WordPress charset settings
242
  * YARPP_Cache_*::update methods are now protected
243
  * Simplified some post status transition handling
244
  * Ensure that `delete_post` hook receives relevant post ID information
7
  Tags: related, posts, post, pages, page, RSS, feed, feeds
8
  Requires at least: 3.1
9
  Tested up to: 3.5
10
+ Stable tag: 3.5.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 custom post type support!
14
 
15
  == Description ==
16
 
17
+ Yet Another Related Posts Plugin (YARPP) gives you a list of posts and/or pages related to the current entry, introducing the reader to other relevant content on your site.
18
 
19
+ 1. **Templating**: The [YARPP templating system](http://mitcho.com/blog/projects/yarpp-3-templates/) lets you control how your posts are displayed.
20
+ 2. **Related posts, pages, and custom post types**: [Learn about CPT support](http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/other_notes/).
21
+ 3. **An advanced and versatile algorithm**: Using a customizable algorithm considering post titles, content, tags, categories, and custom taxonomies, YARPP finds related content from across your site. [Learn more](http://wordpress.tv/2011/01/29/michael-%E2%80%9Cmitcho%E2%80%9D-erlewine-the-yet-another-related-posts-plugin-algorithm-explained/).
22
+ 4. **Caching**: YARPP is performant, caching related posts data as your site is visited.
23
+ 5. **Related posts in feeds**: Display related posts in RSS feeds with custom display options.
 
24
 
25
+ This plugin requires PHP 5, MySQL 4.1, and WordPress 3.1 or greater.
26
 
27
+ See [other plugins by mitcho](http://profiles.wordpress.org/users/mitchoyoshitaka/).
28
 
29
  = A note on support (June 2010) =
30
 
34
 
35
  = Testimonials =
36
 
37
+ <blockquote>
38
  "One of my favorite [plugin]s I just activated on my blog is called Yet Another Related Posts Plugin... I've been blogging seven or eight years now so I have a lot of archives, and it actually surprises me sometimes when I blog about something and I visit the permalink to see I've written about it before... and it also increases the traffic on your blog because when they come in just to one entry, they'll see this other stuff going on."
39
+ </blockquote>
40
 
41
+ &mdash; [Matt Mullenweg](http://ma.tt), WordPress creator
42
 
43
+ <blockquote>
44
  "The first one I ended up trying was Yet Another Related Posts Plugin (YARPP), and mitcho has really done a fantastic job on it:
45
 
46
+ <ul>
47
+ <li>Its trivial to install.</li>
48
+ <li>You don’t have to edit your WordPress template.</li>
49
+ <li>The relevance is good: the suggested posts are related, and you can tweak thresholds and how things are computed if you want."</li>
50
+ </ul>
51
+ </blockquote>
52
 
53
+ &mdash; [Matt Cutts](http://www.mattcutts.com/blog/wordpress-plugin-related-posts/), head of Webspam, Google
54
 
55
  == Installation ==
56
 
239
 
240
  = 3.5.3 =
241
 
242
+ * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-no-related-posts-7): Fixed a common cause of "no related posts"!
243
+ * Better post revision handling
 
244
  * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-database-errors-upon-activation): setup wasn't automatic for network activations.
245
  * Code cleanup:
246
+ * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-latin1-instead-of-utf-8): tables should be created using WordPress charset settings
247
  * YARPP_Cache_*::update methods are now protected
248
  * Simplified some post status transition handling
249
  * Ensure that `delete_post` hook receives relevant post ID information
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 custom post type support!
6
- Version: 3.5.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', '3.5.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 custom post type support!
6
+ Version: 3.5.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', '3.5.3');
13
  define('YARPP_DIR', dirname(__FILE__));
14
  define('YARPP_NO_RELATED', ':(');
15
  define('YARPP_RELATED', ':)');