Yet Another Related Posts Plugin (YARPP) - Version 5.2.2

Version Description

(2020-07-21) = * Critical Bugfix: Fixes plugin upgrade process. This in turn fixes a page slow down issue introduced for some sites with v5.2.1.

Download this release

Release Info

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

Code changes from version 5.2.1 to 5.2.2

Files changed (3) hide show
  1. classes/YARPP_DB_Options.php +1 -1
  2. readme.txt +5 -2
  3. yarpp.php +2 -2
classes/YARPP_DB_Options.php CHANGED
@@ -81,7 +81,7 @@ class YARPP_DB_Options {
81
  * @return bool indicating success
82
  */
83
  public function update_plugin_version_in_db() {
84
- return add_option( 'yarpp_version', YARPP_VERSION );
85
  }
86
 
87
  /**
81
  * @return bool indicating success
82
  */
83
  public function update_plugin_version_in_db() {
84
+ return update_option( 'yarpp_version', YARPP_VERSION );
85
  }
86
 
87
  /**
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 3.7
5
  Requires PHP: 5.3
6
  License: GPLv2 or later
7
  Tested up to: 5.4
8
- Stable tag: 5.2.1
9
 
10
  Display a list of related posts on your site based on a powerful unique algorithm. Optionally, earn money by including sponsored content.
11
 
@@ -271,6 +271,9 @@ add_action(
271
  `
272
 
273
  == Changelog ==
 
 
 
274
  = 5.2.1 (2020-07-20) =
275
  * Enhancement: Don't recommend switching database engine unless necessary for fulltext indexes.
276
 
@@ -962,6 +965,6 @@ After a break of many years, the plugin is 100% supported now that the baton has
962
  * Initial upload
963
 
964
  == Upgrade Notice ==
965
- = 5.2.1 =
966
  We update this plugin regularly so we can make it better for you. Update to the latest version for all of the available features and improvements. Thank you for using YARPP!
967
 
5
  Requires PHP: 5.3
6
  License: GPLv2 or later
7
  Tested up to: 5.4
8
+ Stable tag: 5.2.2
9
 
10
  Display a list of related posts on your site based on a powerful unique algorithm. Optionally, earn money by including sponsored content.
11
 
271
  `
272
 
273
  == Changelog ==
274
+ = 5.2.2 (2020-07-21) =
275
+ * [Critical Bugfix](https://wordpress.org/support/topic/slow-website-after-update-to-5-2-1/): Fixes plugin upgrade process. This in turn fixes a page slow down issue introduced for some sites with v5.2.1.
276
+
277
  = 5.2.1 (2020-07-20) =
278
  * Enhancement: Don't recommend switching database engine unless necessary for fulltext indexes.
279
 
965
  * Initial upload
966
 
967
  == Upgrade Notice ==
968
+ = 5.2.2 =
969
  We update this plugin regularly so we can make it better for you. Update to the latest version for all of the available features and improvements. Thank you for using YARPP!
970
 
yarpp.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Yet Another Related Posts Plugin (YARPP)
4
  Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm.
5
- Version: 5.2.1
6
  Author: YARPP
7
  Author URI: https://yarpp.com/
8
  Plugin URI: https://yarpp.com/
@@ -23,7 +23,7 @@ if(!defined('WP_CONTENT_DIR')){
23
  define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
24
  }
25
 
26
- define('YARPP_VERSION', '5.2.1');
27
 
28
  define('YARPP_DIR', dirname(__FILE__));
29
  define('YARPP_URL', plugins_url('',__FILE__));
2
  /*
3
  Plugin Name: Yet Another Related Posts Plugin (YARPP)
4
  Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm.
5
+ Version: 5.2.2
6
  Author: YARPP
7
  Author URI: https://yarpp.com/
8
  Plugin URI: https://yarpp.com/
23
  define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
24
  }
25
 
26
+ define('YARPP_VERSION', '5.2.2');
27
 
28
  define('YARPP_DIR', dirname(__FILE__));
29
  define('YARPP_URL', plugins_url('',__FILE__));