Yet Another Related Posts Plugin (YARPP) - Version 3.1.3b3

Version Description

Download this release

Release Info

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

Code changes from version 3.1.3b2 to 3.1.3b3

lang/yarpp-de_DE.mo CHANGED
Binary file
lang/yarpp-el_CY.mo CHANGED
Binary file
lang/yarpp-el_EL.mo CHANGED
Binary file
lang/yarpp-fr_FR.mo CHANGED
Binary file
lang/yarpp-ja.mo CHANGED
Binary file
lang/yarpp-lt_LT.mo CHANGED
Binary file
lang/yarpp-nl_NL.mo CHANGED
Binary file
lang/yarpp-pt_BR.mo CHANGED
Binary file
lang/yarpp-ru_RU.mo CHANGED
Binary file
lang/yarpp-sv_SE.mo CHANGED
Binary file
lang/yarpp-uk_UA.mo CHANGED
Binary file
lang/yarpp-vi_VN.mo CHANGED
Binary file
lang/yarpp-zh_CN.mo CHANGED
Binary file
magic.php CHANGED
@@ -421,7 +421,7 @@ function yarpp_cache_enforce($type=array('post'),$reference_ID,$force=false) {
421
  }
422
 
423
  if (!$wpdb->rows_affected) {
424
- $wpdb->query("insert into {$wpdb->prefix}yarpp_related_cache (reference_ID,ID,score) values ($reference_ID,0,0)");
425
  if (!$wpdb->rows_affected)
426
  return false;
427
  }
421
  }
422
 
423
  if (!$wpdb->rows_affected) {
424
+ $wpdb->query("insert into {$wpdb->prefix}yarpp_related_cache (reference_ID,ID,score) values ($reference_ID,0,0) on duplicate key update date = now()");
425
  if (!$wpdb->rows_affected)
426
  return false;
427
  }
readme.txt CHANGED
@@ -154,6 +154,8 @@ If you are a bilingual speaker of English and another language and an avid user
154
  * [updated primary key for cache](http://wordpress.org/support/topic/345070) by Pinoy.ca - improves client-side pageload times.
155
  * Code cleanup
156
  * Rewrote `include` and `require` paths
 
 
157
  * Bugfix: [`yearpp_clear_cache` bug on empty input](http://wordpress.org/support/topic/343001)
158
  * Version checking code no longer uses Snoopy.
159
  = 3.1.2 =
154
  * [updated primary key for cache](http://wordpress.org/support/topic/345070) by Pinoy.ca - improves client-side pageload times.
155
  * Code cleanup
156
  * Rewrote `include` and `require` paths
157
+ * Bugfix: localizations were not working with WordPress 2.9 ([a CodeStyling Localizations bug](http://wordpress.org/support/topic/343389))
158
+ * Bugfix: [redundant entries for "unrelatedness" were being inserted](http://wordpress.org/support/topic/344859)
159
  * Bugfix: [`yearpp_clear_cache` bug on empty input](http://wordpress.org/support/topic/343001)
160
  * Version checking code no longer uses Snoopy.
161
  = 3.1.2 =
yarpp.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: Yet Another Related Posts Plugin
4
  Plugin URI: http://mitcho.com/code/yarpp/
5
  Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
6
- Version: 3.1.3b2
7
  Author: mitcho (Michael Yoshitaka Erlewine)
8
  Author URI: http://mitcho.com/
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&charset=UTF%2d8
10
  */
11
 
12
- define('YARPP_VERSION','3.1.3b2');
13
  define('YARPP_DIR',dirname(__FILE__));
14
 
15
  require_once(YARPP_DIR.'/includes.php');
3
  Plugin Name: Yet Another Related Posts Plugin
4
  Plugin URI: http://mitcho.com/code/yarpp/
5
  Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
6
+ Version: 3.1.3b3
7
  Author: mitcho (Michael Yoshitaka Erlewine)
8
  Author URI: http://mitcho.com/
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&charset=UTF%2d8
10
  */
11
 
12
+ define('YARPP_VERSION','3.1.3b3');
13
  define('YARPP_DIR',dirname(__FILE__));
14
 
15
  require_once(YARPP_DIR.'/includes.php');