Version Description
Download this release
Release Info
Developer | mitchoyoshitaka |
Plugin | Yet Another Related Posts Plugin (YARPP) |
Version | 3.0.11 |
Comparing to | |
See all releases |
Code changes from version 3.0.10 to 3.0.11
- includes.php +2 -2
- options.php +2 -2
- readme.txt +4 -1
- yarpp.php +2 -2
includes.php
CHANGED
@@ -173,12 +173,12 @@ function yarpp_upgrade_check($inuse = false) {
|
|
173 |
|
174 |
}
|
175 |
|
176 |
-
if (version_compare('2.03',get_option('yarpp_version'))) {
|
177 |
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_title` ( `post_title`)");
|
178 |
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_content` ( `post_content`)"); update_option('yarpp_version','2.03');
|
179 |
}
|
180 |
|
181 |
-
if (version_compare(YARPP_VERSION,get_option('yarpp_version'))) {
|
182 |
update_option('yarpp_version',YARPP_VERSION);
|
183 |
|
184 |
//if (!$inuse)
|
173 |
|
174 |
}
|
175 |
|
176 |
+
if (version_compare('2.03',get_option('yarpp_version')) > 0) {
|
177 |
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_title` ( `post_title`)");
|
178 |
$wpdb->query("ALTER TABLE $wpdb->posts ADD FULLTEXT `yarpp_content` ( `post_content`)"); update_option('yarpp_version','2.03');
|
179 |
}
|
180 |
|
181 |
+
if (version_compare(YARPP_VERSION,get_option('yarpp_version')) > 0) {
|
182 |
update_option('yarpp_version',YARPP_VERSION);
|
183 |
|
184 |
//if (!$inuse)
|
options.php
CHANGED
@@ -50,8 +50,8 @@ if (!yarpp_get_option('myisam_override')) {
|
|
50 |
}
|
51 |
|
52 |
$yarpp_twopointfive = true;
|
53 |
-
if (version_compare('2.5',$wp_version)) {
|
54 |
-
echo "<div class='updated'>The \"consider tags\" and \"consider categories\" options require WordPress version 2.5. These two options have been disabled.</div>";
|
55 |
|
56 |
yarpp_set_option('categories',1);
|
57 |
yarpp_set_option('tags',1);
|
50 |
}
|
51 |
|
52 |
$yarpp_twopointfive = true;
|
53 |
+
if (version_compare('2.5',$wp_version) > 0) {
|
54 |
+
echo "$wp_version<div class='updated'>The \"consider tags\" and \"consider categories\" options require WordPress version 2.5. These two options have been disabled.</div>";
|
55 |
|
56 |
yarpp_set_option('categories',1);
|
57 |
yarpp_set_option('tags',1);
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4D
|
|
7 |
Tags: related, posts, post, pages, page, RSS, feed, feeds
|
8 |
Requires at least: 2.3
|
9 |
Tested up to: 2.8.4
|
10 |
-
Stable tag: 3.0.
|
11 |
|
12 |
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.
|
13 |
|
@@ -286,3 +286,6 @@ If you are a bilingual speaker of English and another language and an avid user
|
|
286 |
* Added Ukranian localization
|
287 |
* Incorporated a quick update for the widget display [thanks to doodlebee](http://wordpress.org/support/topic/281575).
|
288 |
* Now properly uses `compare_version` in lieu of old hacky versioning.
|
|
|
|
|
|
7 |
Tags: related, posts, post, pages, page, RSS, feed, feeds
|
8 |
Requires at least: 2.3
|
9 |
Tested up to: 2.8.4
|
10 |
+
Stable tag: 3.0.11
|
11 |
|
12 |
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.
|
13 |
|
286 |
* Added Ukranian localization
|
287 |
* Incorporated a quick update for the widget display [thanks to doodlebee](http://wordpress.org/support/topic/281575).
|
288 |
* Now properly uses `compare_version` in lieu of old hacky versioning.
|
289 |
+
* 3.0.11
|
290 |
+
* Quick fix for `compare_version` code.
|
291 |
+
|
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.0.
|
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¤cy_code=USD&lc=US&charset=UTF%2d8
|
10 |
*/
|
11 |
|
12 |
-
define('YARPP_VERSION','3.0.
|
13 |
|
14 |
require_once('includes.php');
|
15 |
require_once('related-functions.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.0.11
|
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¤cy_code=USD&lc=US&charset=UTF%2d8
|
10 |
*/
|
11 |
|
12 |
+
define('YARPP_VERSION','3.0.11');
|
13 |
|
14 |
require_once('includes.php');
|
15 |
require_once('related-functions.php');
|