Version Description
Download this release
Release Info
Developer | mitchoyoshitaka |
Plugin | Yet Another Related Posts Plugin (YARPP) |
Version | 3.4.1b4 |
Comparing to | |
See all releases |
Code changes from version 3.4.1b3 to 3.4.1b4
- class-cache.php +1 -1
- readme.txt +1 -0
- yarpp.php +2 -2
class-cache.php
CHANGED
@@ -210,7 +210,7 @@ abstract class YARPP_Cache {
|
|
210 |
$newsql .= " having score >= $safethreshold";
|
211 |
if ( $usedisterms ) {
|
212 |
$disterms = implode(',', $disterms);
|
213 |
-
$newsql .= " and
|
214 |
}
|
215 |
|
216 |
foreach ( $weight['tax'] as $tax => $value ) {
|
210 |
$newsql .= " having score >= $safethreshold";
|
211 |
if ( $usedisterms ) {
|
212 |
$disterms = implode(',', $disterms);
|
213 |
+
$newsql .= " and bit_or(termtax.term_id in ($disterms)) = 0";
|
214 |
}
|
215 |
|
216 |
foreach ( $weight['tax'] as $tax => $value ) {
|
readme.txt
CHANGED
@@ -176,6 +176,7 @@ If you are a bilingual speaker of English and another language and an avid user
|
|
176 |
= 3.4.1 =
|
177 |
* [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-34-images-problem-using-template): restore `global $post` access to custom templates
|
178 |
* [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-some-clarification-assistance) for missing `join_filter` on bypass cache
|
|
|
179 |
* Add defaults for the `post_type` arg
|
180 |
* Strengthen default post ID values for `related_*` functions
|
181 |
* Updated `sv_SE`, `ko_KR`, `fr_FR` localizations
|
176 |
= 3.4.1 =
|
177 |
* [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-34-images-problem-using-template): restore `global $post` access to custom templates
|
178 |
* [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-some-clarification-assistance) for missing `join_filter` on bypass cache
|
179 |
+
* [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-use-2-times-related_posts-in-the-singlephp-longer-works): exclusion was not working
|
180 |
* Add defaults for the `post_type` arg
|
181 |
* Strengthen default post ID values for `related_*` functions
|
182 |
* Updated `sv_SE`, `ko_KR`, `fr_FR` localizations
|
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. A templating feature allows customization of the display.
|
6 |
-
Version: 3.4.
|
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.4.
|
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. A templating feature allows customization of the display.
|
6 |
+
Version: 3.4.1b4
|
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.4.1b4');
|
13 |
define('YARPP_DIR', dirname(__FILE__));
|
14 |
define('YARPP_NO_RELATED', ':(');
|
15 |
define('YARPP_RELATED', ':)');
|