Yet Another Related Posts Plugin (YARPP) - Version 5.0.1

Version Description

(2019-07-08) = * Bugfix: Fixed invalid CSS rule * Enhancement: Set Cache headers for CSS file

Download this release

Release Info

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

Code changes from version 5.0.0 to 5.0.1

Files changed (3) hide show
  1. includes/styles_thumbnails.css.php +4 -1
  2. readme.txt +135 -131
  3. yarpp.php +2 -2
includes/styles_thumbnails.css.php CHANGED
@@ -11,11 +11,14 @@ $width_with_margins = ($margin * 2) + $width;
11
$height_with_text = $height + 50;
12
$extra_margin = 7;
13
14
header('Content-Type: text/css');
15
?>
16
.yarpp-thumbnails-horizontal .yarpp-thumbnail, .yarpp-thumbnail-default, .yarpp-thumbnail-title {
17
display: inline-block;
18
- *display: inline;
19
}
20
.yarpp-thumbnails-horizontal .yarpp-thumbnail {
21
border: 1px solid rgba(127,127,127,0.1);
11
$height_with_text = $height + 50;
12
$extra_margin = 7;
13
14
+ $seconds_to_cache = 604800; // 1 week
15
+ $ts = gmdate("D, d M Y H:i:s", time() + $seconds_to_cache) . " GMT";
16
+ header("Expires: $ts");
17
+ header("Cache-Control: public, max-age=$seconds_to_cache");
18
header('Content-Type: text/css');
19
?>
20
.yarpp-thumbnails-horizontal .yarpp-thumbnail, .yarpp-thumbnail-default, .yarpp-thumbnail-title {
21
display: inline-block;
22
}
23
.yarpp-thumbnails-horizontal .yarpp-thumbnail {
24
border: 1px solid rgba(127,127,127,0.1);
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 3.7
5
Requires PHP: 5.2
6
License: GPLv2 or later
7
Tested up to: 5.2
8
- Stable tag: 5.0.0
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
@@ -18,12 +18,12 @@ Yet Another Related Posts Plugin (YARPP) displays pages, posts, and custom post
18
* **Thumbnail or list view** of related content.
19
* **Related posts, pages, and custom post types.**
20
* **Templating**: The YARPP templating system gives you advanced control of how your results are displayed.
21
- * **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
* **Related posts in feeds**: Display related posts in RSS feeds with custom display options.
23
24
- The Yet Another Related Posts Plugin is the most popular Related Posts plugin for WordPress, encouraging Discovery and Engagement since 2008.
25
26
- This plugin requires PHP 5, MySQL 4.1, and WordPress 3.3 or greater. See [the FAQ](http://wordpress.org/plugins/yet-another-related-posts-plugin/faq/) for answers to common questions.
27
28
== Installation ==
29
@@ -53,7 +53,7 @@ YARPP allows the advanced user with knowledge of PHP to customize the display of
53
54
Below are Frequently Asked Questions about YARPP basic.
55
56
- If your question isn't here, ask your own question at [the WordPress.org forums](http://wordpress.org/support/plugin/yet-another-related-posts-plugin).
57
58
= Many pages list "no related posts." =
59
@@ -108,7 +108,7 @@ Once you save any CSS changes, empty your browser's cache and reload your page t
108
109
The default YARPP thumbnail size is 120px by 120px. The thumbnail size can be specified programmatically by adding `add_image_size('yarpp-thumbnail', $width, $height, true);` to your theme's `functions.php` file with appropriate width and height variables. In the future I may add some UI to the settings to also set this. Feedback is requested on whether this is a good idea.
110
111
- Each time you change YARPP's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. I highly recommend the [Regenerate Thumbnails](http://wordpress.org/extend/plugins/regenerate-thumbnails/) plugin for this purpose.
112
113
= I'm using the Thumbnails display. Why aren't the right size thumbnails being served? =
114
@@ -116,13 +116,13 @@ By default, if an appropriately sized thumbnail is not available in WordPress, a
116
117
There are two options for doing so:
118
119
- * First, you can use the [Regenerate Thumbnails](http://wordpress.org/extend/plugins/regenerate-thumbnails/) plugin to generate all these thumbnail-sized images in a batch process. This puts you in control of when this resizing process happens on your server (which is good because it can be processor-intensive). New images which are uploaded to WordPress should automatically get the appropriate thumbnail generated when the image is uploaded.
120
121
* Second, you can turn on a feature in YARPP to auto-generate appropriate size thumbnails on the fly, if they have not yet been created. Doing this type of processing on the fly does not scale well, so this feature is turned off by default. But if you run a smaller site with less traffic, it may work for you. Simply add `define('YARPP_GENERATE_THUMBNAILS', true);` to your theme's `functions.php` file.
122
123
= I'm using the Thumbnails display. Why are some of my posts missing appropriate images? =
124
125
- YARPP's thumbnail view requires that a WordPress "featured image" be set for each post. If you have many posts that never had a featured image set, I recommend the plugin [Auto Post Thumbnail](http://wordpress.org/extend/plugins/auto-post-thumbnail/), which will generate post thumbnails for you.
126
127
= How can I use the custom template feature? =
128
@@ -146,18 +146,18 @@ However, YARPP does have difficulty with languages that don't place spaces betwe
146
147
The YARPP calculation of related content does make a little impact, yes. However, YARPP caches all of its results, so any post's results need only be calculated once. YARPP's queries have been significantly optimized since version 3.5.
148
149
- If you are running a large site and need to throttle YARPP's computation, try the official [YARPP Experiments](http://wordpress.org/extend/plugins/yarpp-experiments/) plugin which adds this throttling functionality. If you are looking for a hosting provider whose databases will not balk under YARPP, I personally have had great success with [MediaTemple](http://www.mediatemple.net/#a_aid=4ed59d7ac5dae).
150
151
= Are there any plugins that are incompatible with YARPP? =
152
153
* [DISQUS](https://wordpress.org/extend/plugins/disqus-comment-system/): go to the DISQUS plugin advanced settings and turn on the "Check this if you have a problem with comment counts not showing on permalinks".
154
- * [SEO_Pager plugin](http://wordpress.org/support/topic/267966): turn off the automatic display option in SEO Pager and instead add the code manually.
155
* [Pagebar 2](http://www.elektroelch.de/hacks/wp/pagebar/);
156
- * [WP Contact Form III plugin and Contact Form Plugin](http://wordpress.org/support/topic/392605);
157
* [WPML](http://wpml.org): various incompatibilities have been reported. The multilingual plugin [Polylang](https://polylang.wordpress.com/) has great support for YARPP and is suggested as a replacement for WPML.
158
* Other related posts plugins, obviously, may also be incompatible.
159
160
- Please submit similar bugs by starting a new thread on [the WordPress.org forums](http://wordpress.org/support/plugin/yet-another-related-posts-plugin). I check the forums regularly and will try to release a quick bugfix.
161
162
= YARPP seems to be broken since I upgraded to WordPress X.X. =
163
@@ -165,11 +165,11 @@ Before upgrading to a new WordPress version, you should first deactivate all plu
165
166
1. Visit the "Related Posts (YARPP)" settings page to verify your settings.
167
2. Deactivate YARPP, replace the YARPP files on the server with a fresh copy of the new version, and then reactivate it.
168
- 3. Install the official [YARPP Experiments](http://wordpress.org/extend/plugins/yarpp-experiments/) plugin to flush the cache.
169
170
= Can I clear my cache? Can I build up the cache manually? =
171
172
- The official [YARPP Experiments](http://wordpress.org/extend/plugins/yarpp-experiments/) plugin adds manual cache controls, letting you flush the cache and build it up manually.
173
174
= I removed the YARPP plugin but I still see YARPP-related database tables. Shouldn't those be removed, too? =
175
@@ -234,8 +234,12 @@ Yes. Any taxonomy, including custom taxonomies, may be specified in the `weight`
234
If you would like to choose custom taxonomies to choose in the YARPP settings UI, either to exclude certain terms or to consider them in the relatedness formula via the UI, the taxonomy must (a) have either the `show_ui` or `yarpp_support` attribute set to true and (b) must apply to either the post types `post` or `page` or both.
235
236
== Changelog ==
237
= 5.0.0 (2019-07-01) =
238
- * [Bugfix](https://wordpress.org/support/topic/php-notice-get_currentuserinfo-is-deprecated-since-version-4-5-0/): Fix warning from using get_currentuserinfo()
239
240
= 4.6 (2019-07-01) =
241
* [Bugfix](https://wordpress.org/support/topic/plugin-flagged-by-wordfence/): Removed links from Plugin Readme to resolve WordFence false positive.
@@ -330,19 +334,19 @@ After a break of many years, the plugin is 100% supported now that the baton has
330
* Updated plugin de-activate/delete functionality to drop all tables. Prior to fix some legacy tables remained which required manual deletion in wp_options from phpmyadmin.
331
* Updated FAQs section.
332
* Update to YARPP's data collection terms and conditions.
333
- * Added Macedonian (`mk_MK`) localization by [WPdiscounts] (http://wpdiscounts.com).
334
335
= 4.0.6 =
336
* YARPP's automatic display will not run on posts which include the HTML comment `<!--noyarpp-->` [by request](https://wordpress.org/support/topic/disabling-yarrp-on-specific-pages).
337
* More robust activation handling, particularly when network-activated.
338
* Improved handling of exceptions, for example when fulltext indexes cannot be created or non-MyISAM tables are used.
339
* YARPP no longer triggers the generation of YARPP-thumbnail-sized images (120x120) when YARPP thumbnails are not used.
340
- * If you are using YARPP programmatically and using the thumbnails view and having troubles with YARPP's thumbnail size being registered, a manual control to force image size registration has been added to the [YARPP Experiments](http://wordpress.org/extend/plugins/yarpp-experiments/) plugin.
341
* [Bugfix](https://wordpress.org/support/topic/yarpp_related_exist-and-begin_yarpp_time-error): calls to `yarpp_related_exist()` type functions were causing errors.
342
* Bundled `yarpp-template-wpml.php` is now called `yarpp-template-multilingual.php`, following [discussion with the author of the Polylang plugin](https://wordpress.org/support/topic/better-integration-of-yarpp-and-polylang).
343
* Localizations
344
- * Added Estonian (`est_EST`) by [JOURNAL](http://journal24.info/)
345
- * Added Gujrati (`gu_IN`) by [Vikas Arora](http://www.wiznicworld.com/)
346
347
= 4.0.5 =
348
* [Bugfix](https://wordpress.org/support/topic/bug-in-upgrading-from-yarp-3_5_2b2): Some upgrade code would try to access the global $yarpp before it was properly initialized
@@ -356,20 +360,20 @@ After a break of many years, the plugin is 100% supported now that the baton has
356
* Added the filter `yarpp_results`
357
* Localizations:
358
* Updated French localization and stopword list
359
- * Added Slovenian (`sl_SI`) localization by [Silvo Katalenić](http://www.twitter.com/silvoslaf)
360
* Bugfix: forces the DB Cache Reloaded (Fix) plugins to flush when necessary
361
362
= 4.0.3 =
363
* Bugfix: on sites where custom templates are not available, the "thumbnails" display option would get reset when visiting the YARPP settings page
364
- * [Bugfix](http://wordpress.org/support/topic/yarpp-css-is-delayed-or-doesnt-load): the CSS for YARPP's thumbnails display would load at the foot of the page, and therefore would cause some style-flashing. This is fixed for automatic includes, but not for widgets or manual calls.
365
* Restoration of the `$post` global after YARPP is now more robust. Fixes the display of incorrect metadata on some complex themes.
366
* YARPP template files no longer recognize `Template Name` fields in their headers, instead using `YARPP Template`. This is to avoid confusion with regular page templates.
367
* Added "Related Posts" meta box to other "auto display" post types
368
* Updated Polish localization
369
370
= 4.0.2 =
371
- * [Bugfix](http://wordpress.org/support/topic/yarpp-doesnt-update-suggestions-with-older-posts): cache should be cleared when the "show only previous posts?" option is changed
372
- * [Bugfix](http://wordpress.org/support/topic/no-default-image-showing?replies=4): In the thumbnail display, sometimes the default image was not displayed, even though no post thumbnail was available.
373
* Localization updates
374
* Updated Polish, Japanese, Hebrew localizations
375
* Better right-to-left layout support
@@ -382,8 +386,8 @@ After a break of many years, the plugin is 100% supported now that the baton has
382
* Fixed a typo and simplified an item in the dynamic `styles-thumbnails.php` styles
383
* Code to generate thumbnails of appropriate size on the fly has been added, but is turned off by default for performance reasons (see FAQ)
384
* Bugfix: a class of `yarpp-related-` with a stray hyphen was sometimes being produced. Now fixed so it produces `yarpp-related`.
385
- * [Bugfix](http://wordpress.org/support/topic/bug-in-sql-function-in-yarpp_cache): `term_relationships` table was being joined when unnecessary
386
- * [Bugfix](http://wordpress.org/support/topic/no-option-to-add-widget-title-in-theme-using-hybrid-core-framework): widget options would not display if custom templates were not available
387
* Bugfix: some transients expired too soon if object caching was used
388
* The `yarpp_map_post_types` filter now also applies to feeds and takes an extra argument to know whether the context is `website` or `rss`.
389
@@ -416,7 +420,7 @@ After a break of many years, the plugin is 100% supported now that the baton has
416
417
= 3.5.6 =
418
* Typo fix for postmeta cache
419
- * Added Traditional Chinese (Taiwan, `zh_TW`) localization by [Pseric](http://www.freegroup.org/)
420
421
= 3.5.5 =
422
* Quick bugfix for how admin screen code was loaded in in WordPress < 3.3.
@@ -424,7 +428,7 @@ After a break of many years, the plugin is 100% supported now that the baton has
424
= 3.5.4 =
425
* New Help tab, which displays help text from the readme.
426
* Retina icons! Now served faster, in sprite form.
427
- * Added Croatian (`hr`) localization by [gocroatia.com](http://gocroatia.com)
428
* Cleanup:
429
* Bugfix: stopwords would not be loaded if WPLANG is defined but blank.
430
* Added new `stats` method to `YARPP_Cache_*` objects.
@@ -443,25 +447,25 @@ After a break of many years, the plugin is 100% supported now that the baton has
443
* 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.)
444
445
= 3.5.2 =
446
- * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-bug-found-with-solution): fix an unfortunate typo which caused "no related posts" on many environments with non-MyISAM tables
447
* Fixed a bug where related posts would not be recomputed on post update, on environments using the `table` YARPP cache method and a persistent object caching system, like W3 Total Cache or memcached
448
- * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-351-error-call-to-a-member-function): reference to `get_post_types()` failed in ajax display
449
* Fixed a bug where some RSS display options were not being obeyed
450
* Fixed a bug where the "automatic display" was being displayed on some custom post types without any control.
451
* Localizations:
452
- * Added Czech (`cs_CZ`) localization by [Zdenek Hejl](http://www.zdenek-hejl.com)
453
- * Added Serbian (`sr_RS`) by [Zarko Zivkovic](http://www.zarkozivkovic.com/)
454
* Fixed bug in Dutch localization
455
* Clarified readme to require WordPress 3.1
456
* Code cleanup:
457
* PHP 5.3+: replaced an instance of `ereg_replace`
458
* Removed warning on settings save
459
- * Sometimes [a warning]((http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-warning-invalid-argument-supplied-for-foreach)) was printed on upgrade from YARPP < 3.4.4
460
- * Fixed [PHP warning](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-php-warning) when no taxonomies are considered
461
* No longer using `clear_pre` function which has been deprecated since WordPress 3.4.
462
463
= 3.5.1 =
464
- * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-catchable-fatal-error-object-of-class-stdclass-could-not-be-converted-to-string): change `$yarpp->get_post_types()` to return array of names by default
465
* Ensure that all supported post types are used when "display results from all post types" is set
466
= 3.5 =
467
* New public YARPP query API, which supports custom post types
@@ -479,8 +483,8 @@ After a break of many years, the plugin is 100% supported now that the baton has
479
* Further use of utility functions from 3.1 like `wp_list_pluck()`
480
* New constant, `YARPP_EXTRA_WEIGHT` to define the "extra weight." By default, it's 3.
481
* Localizations:
482
- * Added Slovak (`sk_SK`) localization by [Forex](http://www.eforex.sk/)
483
- * Added Romanian (`ro_RO`) localization by [Uhren Shop](http://uhrenstore.de/)
484
* Updated `it_IT`, `ko_KR`, `fr_FR`, `sv_SE`, `ja` localizations
485
486
= 3.4.3 =
@@ -488,23 +492,23 @@ After a break of many years, the plugin is 100% supported now that the baton has
488
* Postmeta cache: make sure to clear keyword cache on flush too
489
* Make welcome pointer more robust
490
* More custom post type support infrastructure
491
- * Updated Turkish localization by [Barış Ünver](http://beyn.org/).
492
493
= 3.4.2 =
494
- * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-not-working-version-341-and-custom-template): 3.4 and 3.4.1 assumed existence of `wp_posts` table.
495
* Fix typo in `yarpp-template-random.php` example template file
496
* Improve compatibility with DB Cache Reloaded plugin which doesn't properly implement `set_charset` method.
497
498
= 3.4.1 =
499
- * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-34-images-problem-using-template): restore `global $post` access to custom templates
500
- * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-some-clarification-assistance) for missing `join_filter` on bypass cache
501
* Bugfixes to query changes:
502
- * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-34-images-problem-using-template/page/2?replies=36#post-2498791): Shared taxonomy terms were not counted correctly
503
- * [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
504
- * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-34-images-problem-using-template/page/2?replies=36#post-2498791): "disallow" terms were not being displayed for custom taxonomies.
505
* Add defaults for the `post_type` arg
506
* Strengthen default post ID values for `related_*` functions
507
- * Added nonce to cache flushing. If you would like to manually flush the cache now, you must use the [YARPP Experiments](http://wordpress.org/extend/plugins/yarpp-experiments/) plugin.
508
* Updated `sv_SE`, `ko_KR`, `fr_FR` localizations
509
510
= 3.4 =
@@ -512,7 +516,7 @@ After a break of many years, the plugin is 100% supported now that the baton has
512
* Performance improvements on pages with "no related posts"
513
* Now can consider custom taxonomies (of posts and pages), in addition to tags and cateogories! Custom taxonomies can also be used to exclude certain content from The Pool.
514
* Add welcome message, inviting users to check out the settings page
515
- * [Bug fix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-version-333-breaks-templates-in-widget): Custom templates could not be used in widget display
516
* Significant code cleanup
517
* Move many internal functions into a global object `$yarpp` of class `YARPP`; references to the global `$yarpp_cache` should now be to global `$yarpp->cache`
518
* Created the "bypass" cache engine which is used when custom arguments are specified.
@@ -531,28 +535,28 @@ After a break of many years, the plugin is 100% supported now that the baton has
531
* Don't compute related posts for the metabox on the edit screen; display them via ajax instead
532
* Only clear cache on post save, not recompute
533
* Added `yarpp_get_related()` function can be used similar to `get_posts()`
534
- * Support for [YARPP Experiments](http://wordpress.org/extend/plugins/yarpp-experiments/).
535
* Fix formatting of the Related Posts meta box
536
* Localizations
537
* Updated `it_IT` localization
538
- * Added Portuguese stopwords by Leandro Coelho ([Logística Descomplicada](http://www.logisticadescomplicada.com))
539
540
= 3.3.3 =
541
- * [Bug fix](http://wordpress.org/support/topic/no-related-posts-1): a fix for keyword computation for pages; should improve results on pages. May require flushing of cache: see FAQ for instructions.
542
* Init YARPP on the `init` action, [for compatibility with WPML](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-load-sequence-yarpp-starts-before-the-wordpress-init-completes)
543
* Updated Polish, Italian, and Japanese localizations; added Dutch stopwords by Paul Kessels
544
* Code cleanup:
545
* Minor speedup to unnecessarily slow i18n code
546
* Fixed fatal error in postmeta keyword caching code
547
* Fewer `glob`s
548
- * [Bug fix](http://wordpress.org/support/topic/the-problem-when-publish-a-post): ignore empty `blog_charset`s
549
550
= 3.3.2 =
551
- * [Bugfix](http://wordpress.org/support/topic/missing-translate-strings): removed an unlocalized string
552
* Bugfix for users of WordPress 3.0.x.
553
554
= 3.3.1 =
555
- * Quick bugfix to [relatedness options panel bug](http://wordpress.org/support/topic/relatedness-options-for-titles-and-bodies-cant-be-changed)
556
557
= 3.3 =
558
* Pretty major rewrite to the options page for extensibility and screen options support
@@ -560,34 +564,34 @@ After a break of many years, the plugin is 100% supported now that the baton has
560
* Removed the "reset options" button, because it wasn't actually doing anything.
561
* Rebuilt the new version notice to actually have a link which triggers the WordPress plugin updater, at least for new full versions
562
* Changed default "relatedness" settings to not consider categories, to improve performance
563
- * Added [BlogGlue](http://blogglue.com) partnership module
564
* Localizations
565
* Quick fix to Czech word list file name
566
* Updated Italian localization (`it_IT`)
567
- * Added Hungarian (`hu_HU`) by [daSSad](http://dassad.com)
568
- * Added Kazakh (`kk_KZ`) by [DachaDecor](http://DachaDecor.ru)
569
- * Added Irish (`gb_IR`) by [Ray Gren](http://letsbefamous.com)
570
571
= 3.2.2 =
572
- * Now [ignores soft hyphens](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-french-overused-words) in keyword construction
573
* Minor fix for "cross-relate posts and pages" option and more accurate `related_*()` results across post types
574
* Localization updates:
575
* Updated `de_DE` German localization files
576
* Fixed an encoding issue in the `pt_PT` Portuguese localization files
577
- * Added `es_ES` Spanish localization by Rene of [WordPress Webshop](http://wpwebshop.com)
578
- * Added `ge_KA` Georgian by Kasia Ciszewski of [Find My Hosting](www.findmyhosting.com)
579
- * Added Czech (`cs_CZ`) overused words list [by berniecz](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-french-overused-words)
580
581
= 3.2.1 =
582
- * Bugfix: [Duplicate results shown for some users](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-yarpp-post-duplicate-related-articles)
583
- * Bugfix: [With PHP4, the "related posts" would simply show the current post](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-yarpp-showing-same-post)
584
* This was due to an issue with [object references in PHP4](http://www.obdev.at/developers/articles/00002.html). What a pain!
585
- * A big thanks to Brendon Held of [inMotion Graphics](http://www.imgwebdesign.com) for being incredibly patient and letting me try out different diagnostics on his server.
586
- * Better handling of [`post_status` transitions](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-changed-post-to-draft-still-showing-up-as-related-to-other-posts).
587
- * Bugfix: [the widget was not working on pages](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-showing-yarp-widget-in-pages-and-subpages)
588
- * Added overused words list for French, thanks to [saymonz](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-french-overused-words)
589
* Minor code cleanup:
590
- * Fixed [a bug in `yarpp_related_exists()`](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-fatal-error-call-to-undefined-method-yarpp_cache_tablesstart_yarpp_time)
591
* Removed legacy code for gracefully upgrading from YARPP versions < 1.5 and working with WordPress versions < 2.8.
592
* Cleanup of `yarpp_upgrade_check()` calling
593
* Cleanup of `yarpp_version_json()`, including caching and minor security fix
@@ -602,20 +606,20 @@ After a break of many years, the plugin is 100% supported now that the baton has
602
* Caching is no longer performed while batch-importing posts.
603
* A new object-based abstraction for the caching system. YARPP by default uses custom database tables (same behavior as 3.1.x), but you now have an option to use the `postmeta` table instead. To use `postmeta` caching, add `define('YARPP_CACHE_TYPE', 'postmeta');` to your `wp-config.php` file.<!--YARPP no longer uses custom tables! Both custom tables (`yarpp_related_cache` and `yarpp_keywords_cache`) are automatically removed if you have them. WordPress Post Meta is used instead for caching.-->
604
* Localizations:
605
- * added Bulgarian (`bg_BG`) by [Flash Gallery](http://www.flashgallery.org);
606
- * added Farsi/Persian (`fa_IR`) by [Moshen Derakhshan](http://webdesigner.downloadkar.com/);
607
- * added Bahasa Indonesia (`id_ID`) by [Hendry Lee](http://hendrylee.com/) of [Kelayang](http://kelayang.com/)
608
- * added Norwegian (`nb_NO`) by [Tom Arne Sundtjønn](www.datanerden.no);
609
- * added Portuguese (`pt_PT`) by [Stefan Mueller](http://www.fernstudium-net.de).
610
- * updated Lithuanian (`lt_LT`) by [Mantas Malcius](http://mantas.malcius.lt/)
611
- * Added [WordPress HelpCenter](http://wphelpcenter.com/) widget for quick access to professional support.
612
* Some code cleanup (bug [#1246](http://plugins.trac.wordpress.org/ticket/1246))
613
* No longer supporting WordPress versions before 3.0, not because I suddenly started using something that requires 3.0, but in order to simplify testing.
614
615
= 3.1.9 =
616
- * Added Standard Arabic localization (`ar`) by [led](http://led24.de)
617
* The Related Posts Widget now can also use custom templates. ([#1143](http://plugins.trac.wordpress.org/ticket/1143))
618
- * Fixed a [conflict with the Magazine Premium theme](http://wordpress.org/support/topic/419174)
619
* Fixes a WordPress warning of "unexpected output" on plugin installation.
620
* Fixes a PHP warning message regarding `array_key`.
621
* Fixed a strict WordPress warning about capabilities.
@@ -628,7 +632,7 @@ After a break of many years, the plugin is 100% supported now that the baton has
628
* Some bare minimum changes for Multisite (WPMU) support.
629
* Reimplemented the old "show only previous posts" option. May improve performance for sites with frequent new posts, as there is then no longer a need to recompute the previous posts' related posts set, as it cannot include the new post anyway.
630
* Minor bugfix to threshold limiting.
631
- * Minor fix which may help reduce [`strip_tags()` errors](http://wordpress.org/support/topic/353588).
632
* Updated FAQ.
633
* Code cleanup.
634
@@ -648,37 +652,37 @@ After a break of many years, the plugin is 100% supported now that the baton has
648
= 3.1.4 =
649
* Improved widget code
650
* Localization improvements - descriptions can now be localized
651
- * [Compatibility with PageBar](http://wordpress.org/support/topic/346714) - thanks to Latz for the patch!
652
- * Bugfix: [`related_posts_exist` was giving incorrect values](http://wordpress.org/support/topic/362347)
653
- * Bugfix: [SQL error for setups with blank DB_CHARSET](http://wordpress.org/support/topic/358757)
654
655
= 3.1.3 =
656
* Performance improvements:
657
* Turning off cache expiration, made possible by smarter caching system of 3.1 - should improve caching database performance over time.
658
- * [updated primary key for cache](http://wordpress.org/support/topic/345070) by Pinoy.ca - improves client-side pageload times.
659
* Code cleanup
660
* Rewrote `include` and `require` paths
661
- * Bugfix: localizations were not working with WordPress 2.9 ([a CodeStyling Localizations bug](http://wordpress.org/support/topic/343389))
662
- * Bugfix: [redundant entries for "unrelatedness" were being inserted](http://wordpress.org/support/topic/344859)
663
- * Bugfix: [`yarpp_clear_cache` bug on empty input](http://wordpress.org/support/topic/343001)
664
* Version checking code no longer uses Snoopy.
665
- * New localization: Hindi by [Outshine Solutions](http://outshinesolutions.com/)
666
667
= 3.1.2 =
668
- * Bugfix: [saving posts would sometimes timeout](http://wordpress.org/support/topic/343001)
669
670
= 3.1.1 =
671
- * [Possible fix for the "no related posts" issue](http://wordpress.org/support/topic/284209/page/2) by [vkovalcik](http://wordpress.org/support/profile/5032111)
672
- * Bugfix: [slight optimization to keyword function](http://wordpress.org/support/topic/284209/page/2) by [vkovalcik](http://wordpress.org/support/profile/5032111)
673
- * Bugfix: [regex issue with br-stripping](http://wordpress.org/support/topic/323823)
674
675
= 3.1 =
676
* New snazzy options screen
677
* Smarter, less confusing caching
678
* No more manual caching option—"on the fly" caching is always on now.
679
- * Bugfix: [fixed related pages functionality](http://wordpress.org/support/topic/273008)
680
- * Bugfix: [an issue with options saving](http://wordpress.org/support/topic/312637)
681
- * Bugfix: [a slash escaping bug](http://wordpress.org/support/topic/315560)
682
* Minor fixes:
683
* Fixed `yarpp_settings_link` dependency when disabled.
684
* Breaks (&lt;br /&gt;) are now stripped out of titles.
@@ -690,7 +694,7 @@ After a break of many years, the plugin is 100% supported now that the baton has
690
691
= 3.0.12 =
692
* Yet another DISQUS note... sigh.
693
- * Changed [default markup](http://wordpress.org/support/topic/307890) to be make the output validate better.
694
* Reformatted the version log in readme.txt
695
* Added a Settings link to the plugins page
696
* Some initial WPML support:
@@ -703,40 +707,40 @@ After a break of many years, the plugin is 100% supported now that the baton has
703
704
= 3.0.10 =
705
* Added Ukrainian localization
706
- * Incorporated a quick update for the widget display [thanks to doodlebee](http://wordpress.org/support/topic/281575).
707
* Now properly uses `compare_version` in lieu of old hacky versioning.
708
709
= 3.0.9 =
710
* Added Uzbek, Greek, Cypriot Greek, and Vietnamese localizations
711
- * Further bugfixes for the [pagination issue](http://wordpress.org/support/topic/267350)
712
713
= 3.0.8 =
714
- * Bugfix: [a pagination issue](http://wordpress.org/support/topic/267350) (may not be completely fixed yet)
715
* Bugfix: a quick bugfix for widgets, thanks to Chris Northwood
716
* Added Korean and Lithuanian localizations
717
- * Bugfix: [when ad-hoc caching was off, the cached status would always say "0% cached" ](http://wordpress.org/support/topic/286395)
718
- * Bugfix: enabled Polish and Italian stopwords and [fixed encoding of Italian stopwords](http://wordpress.org/support/topic/288808).
719
- * Bugfix: `is_single` and other such flags are now set properly within the related posts Loop (as a result, now [compatible with WP Greet Box](http://wordpress.org/support/topic/288230))
720
* Confirmed compatibility with 2.8.2
721
- * Bugfix: [the Related Posts metabox now respects the Screen Options](http://wordpress.org/support/topic/289290)
722
723
= 3.0.7 =
724
* Bugfix: additional bugfix for widgets.
725
* Reinstating excerpt length by number of words (was switched to letters in 3.0.6 without accompanying documentation)
726
* Localizations:
727
* Updated Italian
728
- * Added Belarussian by [Fat Cow](http://www.fatcow.com)
729
* Confirmed compatibility with 2.8.1
730
731
= 3.0.6 =
732
- * Bugfix: [updated excerpting to use `wp_html_excerpt`](http://wordpress.org/support/topic/268934) (for WP 2.5+)
733
- * Bugfix: [fixed broken widget display](http://wordpress.org/support/topic/276031)
734
* Added Russian (`ru_RU`) localization by Marat Latypov
735
* Confirmed 2.8 compatibility
736
- * Added note on [incompatibility with SEO Pager plugin](http://wordpress.org/support/topic/267966)
737
738
= 3.0.5 =
739
- * Added link to manual SQL setup information [by request](http://wordpress.org/support/topic/266752)
740
* Added Portuguese localization
741
* Updated info on "on the fly" caching - it is *strongly recommended* for larger blogs.
742
* Updated "incomplete cache" warning message so it is only displayed when the "on the fly" option is off.
@@ -752,11 +756,11 @@ After a break of many years, the plugin is 100% supported now that the baton has
752
* Added Polish localization
753
* Added note on DISQUS in readme
754
* Making some extra strings localizable
755
- * Bugfix: [a problem with the Italian localization](http://wordpress.org/support/topic/265952)
756
757
= 3.0.2 =
758
- * Bugfix: [Templating wasn't working with child templates.](http://wordpress.org/support/topic/265515)
759
- * Bugfix: In some situations, [SQL errors were printed in the AJAX preview displays](http://wordpress.org/support/topic/265728).
760
761
= 3.0.1 =
762
* Bugfix: In some situations before YARPP options were updated, an `include` PHP error was displayed.
@@ -772,46 +776,46 @@ After a break of many years, the plugin is 100% supported now that the baton has
772
* Versioning bugfix - same as 2.1.5
773
774
= 2.1.5 =
775
- * Bugfix: In certain scenarios, [related posts would be displayed in RSS feeds even when that option was off](http://wordpress.org/support/topic/216145)
776
* Bugfix: The `related_*()` functions were missing the `echo` parameter
777
* Some localization bugfixes
778
* Localizations:
779
- * Japanese (`ja`) by [Michael Yoshitaka Erlewine](http://mitcho.com)
780
781
= 2.1.4 =
782
- * Bugfix: [Settings' sumbmit button took you to PayPal](http://wordpress.org/support/topic/214090)
783
- * Bugfix: Fixed [keyword algorithm for users without `mbstring`](http://wordpress.org/support/topic/216420)
784
* Bugfix: `title` attributes were not properly escaped
785
- * Bugfix: [keywords did not filter tags](http://wordpress.org/support/topic/218211). (This bugfix may vastly improve "relatedness" on some blogs.)
786
* Localizations:
787
- * Simplified Chinese (`zh_CN`) by Jor Wang (mail at jorwang dot com) of [jorwang.com](http://jorwang.com)
788
- * German (`de_DE`) by Michael Kalina of [3th.be](http://3th.be)
789
- * The "show excerpt" option now shows the first `n` words of the excerpt, rather than the content ([by request](http://wordpress.org/support/topic/212577))
790
* Added an `echo` parameter to the `related_*()` functions, with default value of `true`. If `false`, the function will simply return the output.
791
- * Added support for the [AllWebMenus Pro](http://wordpress.org/extend/plugins/allwebmenus-wordpress-menu-plugin/) plugin
792
* Further internationalization:
793
* the donate button! ^^
794
- * overused words lists ([by request](http://wordpress.org/support/topic/159359))), with a German word list.
795
796
= 2.1.3 =
797
- * Bugfix: Turned off [the experimental caching](http://wordpress.org/support/topic/216194#post-894440) which shouldn't have been on in this release...
798
- * Bugfix: an issue with the [keywords algorithm for non-ASCII characters](http://wordpress.org/support/topic/216078)
799
800
= 2.1.2 =
801
* Bugfix: MyISAM override handling bug
802
803
= 2.1.1 =
804
* Bugfix: keywords with forward slashes (\) could make the main SQL query ill-formed.
805
- * Bugfix: Added an override option for the [false MyISAM warnings](http://wordpress.org/support/topic/211043).
806
* Preparing for localization! (See note at the bottom of the FAQ.)
807
* Adding a debug mode--just try adding `&yarpp_debug=1` to your URL's and look at the HTML source.
808
809
= 2.1 - The RSS edition! =
810
- * RSS feed support!: the option to automagically show related posts in RSS feeds and to customize their display, [by popular request](http://wordpress.org/support/topic/151766).
811
- * A link to [the Yet Another Related Posts Plugin RSS feed](http://wordpress.org/support/topic/208469).
812
* Further optimization of the main SQL query in cases where not all of the match criteria (title, body, tags, categories) are chosen.
813
* A new format for pushing arguments to the `related_posts()` functions.
814
- * Bugfix: [compatibility](http://wordpress.org/support/topic/207286) with the [dzoneZ-Et](http://wordpress.org/extend/plugins/dzonez-et/) and [reddZ-Et](http://wordpress.org/extend/plugins/reddz-et/) plugins.
815
* Bugfix: `related_*_exist()` functions produced invalid queries
816
* A warning for `wp_posts` with non-MyISAM engines and semi-compatibility with non-MyISAM setups.
817
* Bugfix: [a better notice for users of Wordpress < 2.5](http://www.mattcutts.com/blog/wordpress-plugin-related-posts/#comment-131194) regarding the "compare tags" and "compare categories" features.
@@ -822,9 +826,9 @@ After a break of many years, the plugin is 100% supported now that the baton has
822
= 2.0.5 =
823
* Further optimized algorithm - should be faster on most systems. Good bye [subqueries](http://dev.mysql.com/doc/refman/5.0/en/unnamed-views.html)!
824
* Bugfix: restored MySQL 4.0 support
825
- * Bugfix: [widgets required the "auto display" option](http://wordpress.org/support/topic/190454)
826
* Bugfix: sometimes default values were not set properly on (re)activation
827
- * Bugfix: [quotes in HTML tag options would get escaped](http://wordpress.org/support/topic/199139)
828
* Bugfix: `user_level` was being checked in a deprecated manner
829
* A helpful little tooltip for the admin-only threshold display
830
@@ -833,21 +837,21 @@ After a break of many years, the plugin is 100% supported now that the baton has
833
* Bugfix: updated `apply_filters` to work with WP 2.6
834
835
= 2.0.3 =
836
- * Bugfix: [2.0.2 accidentally required some tags or categories to be disabled](http://wordpress.org/support/topic/188745)
837
838
= 2.0.2 =
839
* Versioning bugfix (rerelease of 2.0.1)
840
841
= 2.0.1 =
842
* Bugfix: [`admin_menu` instead of `admin_head`](http://konstruktors.com/blog/wordpress/277-fixing-postpost-and-ozh-absolute-comments-plugins/)
843
- * Bugfix: [a variable scope issue](http://wordpress.org/support/topic/188550) crucial for 2.0 upgrading
844
845
= 2.0 =
846
* New algorithm which considers tags and categories, by frequent request
847
- * Order by score, date, or title, [by request](http://wordpress.org/support/topic/158459)
848
- * Excluding certain tags or categories, [by request](http://wordpress.org/support/topic/161263)
849
* Sample output displayed in the options screen
850
- * Bugfix: [an excerpt length bug](http://wordpress.org/support/topic/155034?replies=5)
851
* Bugfix: now compatible with the following plugins:
852
- diggZEt
853
- WP-Syntax
@@ -874,6 +878,6 @@ After a break of many years, the plugin is 100% supported now that the baton has
874
* Initial upload
875
876
== Upgrade Notice ==
877
- = 5.0.0 =
878
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!
879
5
Requires PHP: 5.2
6
License: GPLv2 or later
7
Tested up to: 5.2
8
+ Stable tag: 5.0.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
18
* **Thumbnail or list view** of related content.
19
* **Related posts, pages, and custom post types.**
20
* **Templating**: The YARPP templating system gives you advanced control of how your results are displayed.
21
+ * **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.](https://wordpress.tv/2011/01/29/michael-mitcho-erlewine-the-yet-another-related-posts-plugin-algorithm-explained/)
22
* **Related posts in feeds**: Display related posts in RSS feeds with custom display options.
23
24
+ The Yet Another Related Posts Plugin is the most popular [WordPress Related Posts plugin](https://wordpress.org/plugins/yet-another-related-posts-plugin/), encouraging Discovery and Engagement since 2008.
25
26
+ This plugin requires PHP 5, MySQL 4.1, and WordPress 3.3 or greater. See [the FAQ](https://wordpress.org/plugins/yet-another-related-posts-plugin/faq/) for answers to common questions.
27
28
== Installation ==
29
53
54
Below are Frequently Asked Questions about YARPP basic.
55
56
+ If your question isn't here, ask your own question at [the WordPress.org forums](https://wordpress.org/support/plugin/yet-another-related-posts-plugin).
57
58
= Many pages list "no related posts." =
59
108
109
The default YARPP thumbnail size is 120px by 120px. The thumbnail size can be specified programmatically by adding `add_image_size('yarpp-thumbnail', $width, $height, true);` to your theme's `functions.php` file with appropriate width and height variables. In the future I may add some UI to the settings to also set this. Feedback is requested on whether this is a good idea.
110
111
+ Each time you change YARPP's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. I highly recommend the [Regenerate Thumbnails](https://wordpress.org/extend/plugins/regenerate-thumbnails/) plugin for this purpose.
112
113
= I'm using the Thumbnails display. Why aren't the right size thumbnails being served? =
114
116
117
There are two options for doing so:
118
119
+ * First, you can use the [Regenerate Thumbnails](https://wordpress.org/extend/plugins/regenerate-thumbnails/) plugin to generate all these thumbnail-sized images in a batch process. This puts you in control of when this resizing process happens on your server (which is good because it can be processor-intensive). New images which are uploaded to WordPress should automatically get the appropriate thumbnail generated when the image is uploaded.
120
121
* Second, you can turn on a feature in YARPP to auto-generate appropriate size thumbnails on the fly, if they have not yet been created. Doing this type of processing on the fly does not scale well, so this feature is turned off by default. But if you run a smaller site with less traffic, it may work for you. Simply add `define('YARPP_GENERATE_THUMBNAILS', true);` to your theme's `functions.php` file.
122
123
= I'm using the Thumbnails display. Why are some of my posts missing appropriate images? =
124
125
+ YARPP's thumbnail view requires that a WordPress "featured image" be set for each post. If you have many posts that never had a featured image set, I recommend the plugin [Auto Post Thumbnail](https://wordpress.org/extend/plugins/auto-post-thumbnail/), which will generate post thumbnails for you.
126
127
= How can I use the custom template feature? =
128
146
147
The YARPP calculation of related content does make a little impact, yes. However, YARPP caches all of its results, so any post's results need only be calculated once. YARPP's queries have been significantly optimized since version 3.5.
148
149
+ If you are running a large site and need to throttle YARPP's computation, try the official [YARPP Experiments](https://wordpress.org/extend/plugins/yarpp-experiments/) plugin which adds this throttling functionality. If you are looking for a hosting provider whose databases will not balk under YARPP, I personally have had great success with [MediaTemple](http://www.mediatemple.net/#a_aid=4ed59d7ac5dae).
150
151
= Are there any plugins that are incompatible with YARPP? =
152
153
* [DISQUS](https://wordpress.org/extend/plugins/disqus-comment-system/): go to the DISQUS plugin advanced settings and turn on the "Check this if you have a problem with comment counts not showing on permalinks".
154
+ * [SEO_Pager plugin](https://wordpress.org/support/topic/267966): turn off the automatic display option in SEO Pager and instead add the code manually.
155
* [Pagebar 2](http://www.elektroelch.de/hacks/wp/pagebar/);
156
+ * [WP Contact Form III plugin and Contact Form Plugin](https://wordpress.org/support/topic/392605);
157
* [WPML](http://wpml.org): various incompatibilities have been reported. The multilingual plugin [Polylang](https://polylang.wordpress.com/) has great support for YARPP and is suggested as a replacement for WPML.
158
* Other related posts plugins, obviously, may also be incompatible.
159
160
+ Please submit similar bugs by starting a new thread on [the WordPress.org forums](https://wordpress.org/support/plugin/yet-another-related-posts-plugin). I check the forums regularly and will try to release a quick bugfix.
161
162
= YARPP seems to be broken since I upgraded to WordPress X.X. =
163
165
166
1. Visit the "Related Posts (YARPP)" settings page to verify your settings.
167
2. Deactivate YARPP, replace the YARPP files on the server with a fresh copy of the new version, and then reactivate it.
168
+ 3. Install the official [YARPP Experiments](https://wordpress.org/extend/plugins/yarpp-experiments/) plugin to flush the cache.
169
170
= Can I clear my cache? Can I build up the cache manually? =
171
172
+ The official [YARPP Experiments](https://wordpress.org/extend/plugins/yarpp-experiments/) plugin adds manual cache controls, letting you flush the cache and build it up manually.
173
174
= I removed the YARPP plugin but I still see YARPP-related database tables. Shouldn't those be removed, too? =
175
234
If you would like to choose custom taxonomies to choose in the YARPP settings UI, either to exclude certain terms or to consider them in the relatedness formula via the UI, the taxonomy must (a) have either the `show_ui` or `yarpp_support` attribute set to true and (b) must apply to either the post types `post` or `page` or both.
235
236
== Changelog ==
237
+ = 5.0.1 (2019-07-08) =
238
+ * [Bugfix](https://wordpress.org/support/topic/styles_thumbnails-css-php-invalid-value/): Fixed invalid CSS rule
239
+ * Enhancement: Set Cache headers for CSS file
240
+
241
= 5.0.0 (2019-07-01) =
242
+ * [Bugfix](https://wordpress.org/support/topic/php-notice-get_currentuserinfo-is-deprecated-since-version-4-5-0/): Fixed warning from using get_currentuserinfo()
243
244
= 4.6 (2019-07-01) =
245
* [Bugfix](https://wordpress.org/support/topic/plugin-flagged-by-wordfence/): Removed links from Plugin Readme to resolve WordFence false positive.
334
* Updated plugin de-activate/delete functionality to drop all tables. Prior to fix some legacy tables remained which required manual deletion in wp_options from phpmyadmin.
335
* Updated FAQs section.
336
* Update to YARPP's data collection terms and conditions.
337
+ * Added Macedonian (`mk_MK`) localization by WPdiscounts.
338
339
= 4.0.6 =
340
* YARPP's automatic display will not run on posts which include the HTML comment `<!--noyarpp-->` [by request](https://wordpress.org/support/topic/disabling-yarrp-on-specific-pages).
341
* More robust activation handling, particularly when network-activated.
342
* Improved handling of exceptions, for example when fulltext indexes cannot be created or non-MyISAM tables are used.
343
* YARPP no longer triggers the generation of YARPP-thumbnail-sized images (120x120) when YARPP thumbnails are not used.
344
+ * If you are using YARPP programmatically and using the thumbnails view and having troubles with YARPP's thumbnail size being registered, a manual control to force image size registration has been added to the [YARPP Experiments](https://wordpress.org/extend/plugins/yarpp-experiments/) plugin.
345
* [Bugfix](https://wordpress.org/support/topic/yarpp_related_exist-and-begin_yarpp_time-error): calls to `yarpp_related_exist()` type functions were causing errors.
346
* Bundled `yarpp-template-wpml.php` is now called `yarpp-template-multilingual.php`, following [discussion with the author of the Polylang plugin](https://wordpress.org/support/topic/better-integration-of-yarpp-and-polylang).
347
* Localizations
348
+ * Added Estonian (`est_EST`) by journal24.info
349
+ * Added Gujrati (`gu_IN`) by Vikas Arora of wiznicworld.com
350
351
= 4.0.5 =
352
* [Bugfix](https://wordpress.org/support/topic/bug-in-upgrading-from-yarp-3_5_2b2): Some upgrade code would try to access the global $yarpp before it was properly initialized
360
* Added the filter `yarpp_results`
361
* Localizations:
362
* Updated French localization and stopword list
363
+ * Added Slovenian (`sl_SI`) localization by [Silvo Katalenić](https://twitter.com/silvoslaf)
364
* Bugfix: forces the DB Cache Reloaded (Fix) plugins to flush when necessary
365
366
= 4.0.3 =
367
* Bugfix: on sites where custom templates are not available, the "thumbnails" display option would get reset when visiting the YARPP settings page
368
+ * [Bugfix](https://wordpress.org/support/topic/yarpp-css-is-delayed-or-doesnt-load): the CSS for YARPP's thumbnails display would load at the foot of the page, and therefore would cause some style-flashing. This is fixed for automatic includes, but not for widgets or manual calls.
369
* Restoration of the `$post` global after YARPP is now more robust. Fixes the display of incorrect metadata on some complex themes.
370
* YARPP template files no longer recognize `Template Name` fields in their headers, instead using `YARPP Template`. This is to avoid confusion with regular page templates.
371
* Added "Related Posts" meta box to other "auto display" post types
372
* Updated Polish localization
373
374
= 4.0.2 =
375
+ * [Bugfix](https://wordpress.org/support/topic/yarpp-doesnt-update-suggestions-with-older-posts): cache should be cleared when the "show only previous posts?" option is changed
376
+ * [Bugfix](https://wordpress.org/support/topic/no-default-image-showing?replies=4): In the thumbnail display, sometimes the default image was not displayed, even though no post thumbnail was available.
377
* Localization updates
378
* Updated Polish, Japanese, Hebrew localizations
379
* Better right-to-left layout support
386
* Fixed a typo and simplified an item in the dynamic `styles-thumbnails.php` styles
387
* Code to generate thumbnails of appropriate size on the fly has been added, but is turned off by default for performance reasons (see FAQ)
388
* Bugfix: a class of `yarpp-related-` with a stray hyphen was sometimes being produced. Now fixed so it produces `yarpp-related`.
389
+ * [Bugfix](https://wordpress.org/support/topic/bug-in-sql-function-in-yarpp_cache): `term_relationships` table was being joined when unnecessary
390
+ * [Bugfix](https://wordpress.org/support/topic/no-option-to-add-widget-title-in-theme-using-hybrid-core-framework): widget options would not display if custom templates were not available
391
* Bugfix: some transients expired too soon if object caching was used
392
* The `yarpp_map_post_types` filter now also applies to feeds and takes an extra argument to know whether the context is `website` or `rss`.
393
420
421
= 3.5.6 =
422
* Typo fix for postmeta cache
423
+ * Added Traditional Chinese (Taiwan, `zh_TW`) localization by Pseric
424
425
= 3.5.5 =
426
* Quick bugfix for how admin screen code was loaded in in WordPress < 3.3.
428
= 3.5.4 =
429
* New Help tab, which displays help text from the readme.
430
* Retina icons! Now served faster, in sprite form.
431
+ * Added Croatian (`hr`) localization by gocroatia.com
432
* Cleanup:
433
* Bugfix: stopwords would not be loaded if WPLANG is defined but blank.
434
* Added new `stats` method to `YARPP_Cache_*` objects.
447
* 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.)
448
449
= 3.5.2 =
450
+ * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-bug-found-with-solution): fix an unfortunate typo which caused "no related posts" on many environments with non-MyISAM tables
451
* Fixed a bug where related posts would not be recomputed on post update, on environments using the `table` YARPP cache method and a persistent object caching system, like W3 Total Cache or memcached
452
+ * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-351-error-call-to-a-member-function): reference to `get_post_types()` failed in ajax display
453
* Fixed a bug where some RSS display options were not being obeyed
454
* Fixed a bug where the "automatic display" was being displayed on some custom post types without any control.
455
* Localizations:
456
+ * Added Czech (`cs_CZ`) localization by Zdenek Hejl
457
+ * Added Serbian (`sr_RS`) by Zarko Zivkovic
458
* Fixed bug in Dutch localization
459
* Clarified readme to require WordPress 3.1
460
* Code cleanup:
461
* PHP 5.3+: replaced an instance of `ereg_replace`
462
* Removed warning on settings save
463
+ * Sometimes [a warning]((https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-warning-invalid-argument-supplied-for-foreach)) was printed on upgrade from YARPP < 3.4.4
464
+ * Fixed [PHP warning](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-php-warning) when no taxonomies are considered
465
* No longer using `clear_pre` function which has been deprecated since WordPress 3.4.
466
467
= 3.5.1 =
468
+ * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-catchable-fatal-error-object-of-class-stdclass-could-not-be-converted-to-string): change `$yarpp->get_post_types()` to return array of names by default
469
* Ensure that all supported post types are used when "display results from all post types" is set
470
= 3.5 =
471
* New public YARPP query API, which supports custom post types
483
* Further use of utility functions from 3.1 like `wp_list_pluck()`
484
* New constant, `YARPP_EXTRA_WEIGHT` to define the "extra weight." By default, it's 3.
485
* Localizations:
486
+ * Added Slovak (`sk_SK`) localization by Forex
487
+ * Added Romanian (`ro_RO`) localization by Uhren Shop
488
* Updated `it_IT`, `ko_KR`, `fr_FR`, `sv_SE`, `ja` localizations
489
490
= 3.4.3 =
492
* Postmeta cache: make sure to clear keyword cache on flush too
493
* Make welcome pointer more robust
494
* More custom post type support infrastructure
495
+ * Updated Turkish localization by Barış Ünver
496
497
= 3.4.2 =
498
+ * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-not-working-version-341-and-custom-template): 3.4 and 3.4.1 assumed existence of `wp_posts` table.
499
* Fix typo in `yarpp-template-random.php` example template file
500
* Improve compatibility with DB Cache Reloaded plugin which doesn't properly implement `set_charset` method.
501
502
= 3.4.1 =
503
+ * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-34-images-problem-using-template): restore `global $post` access to custom templates
504
+ * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-some-clarification-assistance) for missing `join_filter` on bypass cache
505
* Bugfixes to query changes:
506
+ * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-34-images-problem-using-template/page/2?replies=36#post-2498791): Shared taxonomy terms were not counted correctly
507
+ * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-use-2-times-related_posts-in-the-singlephp-longer-works): exclusion was not working
508
+ * [Bugfix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-34-images-problem-using-template/page/2?replies=36#post-2498791): "disallow" terms were not being displayed for custom taxonomies.
509
* Add defaults for the `post_type` arg
510
* Strengthen default post ID values for `related_*` functions
511
+ * Added nonce to cache flushing. If you would like to manually flush the cache now, you must use the [YARPP Experiments](https://wordpress.org/extend/plugins/yarpp-experiments/) plugin.
512
* Updated `sv_SE`, `ko_KR`, `fr_FR` localizations
513
514
= 3.4 =
516
* Performance improvements on pages with "no related posts"
517
* Now can consider custom taxonomies (of posts and pages), in addition to tags and cateogories! Custom taxonomies can also be used to exclude certain content from The Pool.
518
* Add welcome message, inviting users to check out the settings page
519
+ * [Bug fix](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-version-333-breaks-templates-in-widget): Custom templates could not be used in widget display
520
* Significant code cleanup
521
* Move many internal functions into a global object `$yarpp` of class `YARPP`; references to the global `$yarpp_cache` should now be to global `$yarpp->cache`
522
* Created the "bypass" cache engine which is used when custom arguments are specified.
535
* Don't compute related posts for the metabox on the edit screen; display them via ajax instead
536
* Only clear cache on post save, not recompute
537
* Added `yarpp_get_related()` function can be used similar to `get_posts()`
538
+ * Support for [YARPP Experiments](https://wordpress.org/extend/plugins/yarpp-experiments/).
539
* Fix formatting of the Related Posts meta box
540
* Localizations
541
* Updated `it_IT` localization
542
+ * Added Portuguese stopwords by Leandro Coelho Logística Descomplicada
543
544
= 3.3.3 =
545
+ * [Bug fix](https://wordpress.org/support/topic/no-related-posts-1): a fix for keyword computation for pages; should improve results on pages. May require flushing of cache: see FAQ for instructions.
546
* Init YARPP on the `init` action, [for compatibility with WPML](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-load-sequence-yarpp-starts-before-the-wordpress-init-completes)
547
* Updated Polish, Italian, and Japanese localizations; added Dutch stopwords by Paul Kessels
548
* Code cleanup:
549
* Minor speedup to unnecessarily slow i18n code
550
* Fixed fatal error in postmeta keyword caching code
551
* Fewer `glob`s
552
+ * [Bug fix](https://wordpress.org/support/topic/the-problem-when-publish-a-post): ignore empty `blog_charset`s
553
554
= 3.3.2 =
555
+ * [Bugfix](https://wordpress.org/support/topic/missing-translate-strings): removed an unlocalized string
556
* Bugfix for users of WordPress 3.0.x.
557
558
= 3.3.1 =
559
+ * Quick bugfix to [relatedness options panel bug](https://wordpress.org/support/topic/relatedness-options-for-titles-and-bodies-cant-be-changed)
560
561
= 3.3 =
562
* Pretty major rewrite to the options page for extensibility and screen options support
564
* Removed the "reset options" button, because it wasn't actually doing anything.
565
* Rebuilt the new version notice to actually have a link which triggers the WordPress plugin updater, at least for new full versions
566
* Changed default "relatedness" settings to not consider categories, to improve performance
567
+ * Added BlogGlue partnership module
568
* Localizations
569
* Quick fix to Czech word list file name
570
* Updated Italian localization (`it_IT`)
571
+ * Added Hungarian (`hu_HU`) by daSSad
572
+ * Added Kazakh (`kk_KZ`) by DachaDecor
573
+ * Added Irish (`gb_IR`) by Ray Gren
574
575
= 3.2.2 =
576
+ * Now [ignores soft hyphens](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-french-overused-words) in keyword construction
577
* Minor fix for "cross-relate posts and pages" option and more accurate `related_*()` results across post types
578
* Localization updates:
579
* Updated `de_DE` German localization files
580
* Fixed an encoding issue in the `pt_PT` Portuguese localization files
581
+ * Added `es_ES` Spanish localization by Rene of WordPress Webshop
582
+ * Added `ge_KA` Georgian by Kasia Ciszewski of Find My Hosting
583
+ * Added Czech (`cs_CZ`) overused words list [by berniecz](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-french-overused-words)
584
585
= 3.2.1 =
586
+ * Bugfix: [Duplicate results shown for some users](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-yarpp-post-duplicate-related-articles)
587
+ * Bugfix: [With PHP4, the "related posts" would simply show the current post](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-yarpp-showing-same-post)
588
* This was due to an issue with [object references in PHP4](http://www.obdev.at/developers/articles/00002.html). What a pain!
589
+ * A big thanks to Brendon Held of inMotion Graphics for being incredibly patient and letting me try out different diagnostics on his server.
590
+ * Better handling of [`post_status` transitions](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-changed-post-to-draft-still-showing-up-as-related-to-other-posts).
591
+ * Bugfix: [the widget was not working on pages](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-showing-yarp-widget-in-pages-and-subpages)
592
+ * Added overused words list for French, thanks to [saymonz](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-french-overused-words)
593
* Minor code cleanup:
594
+ * Fixed [a bug in `yarpp_related_exists()`](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-fatal-error-call-to-undefined-method-yarpp_cache_tablesstart_yarpp_time)
595
* Removed legacy code for gracefully upgrading from YARPP versions < 1.5 and working with WordPress versions < 2.8.
596
* Cleanup of `yarpp_upgrade_check()` calling
597
* Cleanup of `yarpp_version_json()`, including caching and minor security fix
606
* Caching is no longer performed while batch-importing posts.
607
* A new object-based abstraction for the caching system. YARPP by default uses custom database tables (same behavior as 3.1.x), but you now have an option to use the `postmeta` table instead. To use `postmeta` caching, add `define('YARPP_CACHE_TYPE', 'postmeta');` to your `wp-config.php` file.<!--YARPP no longer uses custom tables! Both custom tables (`yarpp_related_cache` and `yarpp_keywords_cache`) are automatically removed if you have them. WordPress Post Meta is used instead for caching.-->
608
* Localizations:
609
+ * added Bulgarian (`bg_BG`) by Flash Gallery
610
+ * added Farsi/Persian (`fa_IR`) by Moshen Derakhshan
611
+ * added Bahasa Indonesia (`id_ID`) by Hendry Lee of Kelayang
612
+ * added Norwegian (`nb_NO`) by Tom Arne Sundtjønn
613
+ * added Portuguese (`pt_PT`) by Stefan Mueller
614
+ * updated Lithuanian (`lt_LT`) by Mantas Malcius
615
+ * Added WordPress HelpCenter widget for quick access to professional support.
616
* Some code cleanup (bug [#1246](http://plugins.trac.wordpress.org/ticket/1246))
617
* No longer supporting WordPress versions before 3.0, not because I suddenly started using something that requires 3.0, but in order to simplify testing.
618
619
= 3.1.9 =
620
+ * Added Standard Arabic localization (`ar`) by led
621
* The Related Posts Widget now can also use custom templates. ([#1143](http://plugins.trac.wordpress.org/ticket/1143))
622
+ * Fixed a [conflict with the Magazine Premium theme](https://wordpress.org/support/topic/419174)
623
* Fixes a WordPress warning of "unexpected output" on plugin installation.
624
* Fixes a PHP warning message regarding `array_key`.
625
* Fixed a strict WordPress warning about capabilities.
632
* Some bare minimum changes for Multisite (WPMU) support.
633
* Reimplemented the old "show only previous posts" option. May improve performance for sites with frequent new posts, as there is then no longer a need to recompute the previous posts' related posts set, as it cannot include the new post anyway.
634
* Minor bugfix to threshold limiting.
635
+ * Minor fix which may help reduce [`strip_tags()` errors](https://wordpress.org/support/topic/353588).
636
* Updated FAQ.
637
* Code cleanup.
638
652
= 3.1.4 =
653
* Improved widget code
654
* Localization improvements - descriptions can now be localized
655
+ * [Compatibility with PageBar](https://wordpress.org/support/topic/346714) - thanks to Latz for the patch!
656
+ * Bugfix: [`related_posts_exist` was giving incorrect values](https://wordpress.org/support/topic/362347)
657
+ * Bugfix: [SQL error for setups with blank DB_CHARSET](https://wordpress.org/support/topic/358757)
658
659
= 3.1.3 =
660
* Performance improvements:
661
* Turning off cache expiration, made possible by smarter caching system of 3.1 - should improve caching database performance over time.
662
+ * [updated primary key for cache](https://wordpress.org/support/topic/345070) by Pinoy.ca - improves client-side pageload times.
663
* Code cleanup
664
* Rewrote `include` and `require` paths
665
+ * Bugfix: localizations were not working with WordPress 2.9 ([a CodeStyling Localizations bug](https://wordpress.org/support/topic/343389))
666
+ * Bugfix: [redundant entries for "unrelatedness" were being inserted](https://wordpress.org/support/topic/344859)
667
+ * Bugfix: [`yarpp_clear_cache` bug on empty input](https://wordpress.org/support/topic/343001)
668
* Version checking code no longer uses Snoopy.
669
+ * New localization: Hindi by Outshine Solutions
670
671
= 3.1.2 =
672
+ * Bugfix: [saving posts would sometimes timeout](https://wordpress.org/support/topic/343001)
673
674
= 3.1.1 =
675
+ * [Possible fix for the "no related posts" issue](https://wordpress.org/support/topic/284209/page/2) by [vkovalcik](https://wordpress.org/support/profile/5032111)
676
+ * Bugfix: [slight optimization to keyword function](https://wordpress.org/support/topic/284209/page/2) by [vkovalcik](https://wordpress.org/support/profile/5032111)
677
+ * Bugfix: [regex issue with br-stripping](https://wordpress.org/support/topic/323823)
678
679
= 3.1 =
680
* New snazzy options screen
681
* Smarter, less confusing caching
682
* No more manual caching option—"on the fly" caching is always on now.
683
+ * Bugfix: [fixed related pages functionality](https://wordpress.org/support/topic/273008)
684
+ * Bugfix: [an issue with options saving](https://wordpress.org/support/topic/312637)
685
+ * Bugfix: [a slash escaping bug](https://wordpress.org/support/topic/315560)
686
* Minor fixes:
687
* Fixed `yarpp_settings_link` dependency when disabled.
688
* Breaks (&lt;br /&gt;) are now stripped out of titles.
694
695
= 3.0.12 =
696
* Yet another DISQUS note... sigh.
697
+ * Changed [default markup](https://wordpress.org/support/topic/307890) to be make the output validate better.
698
* Reformatted the version log in readme.txt
699
* Added a Settings link to the plugins page
700
* Some initial WPML support:
707
708
= 3.0.10 =
709
* Added Ukrainian localization
710
+ * Incorporated a quick update for the widget display [thanks to doodlebee](https://wordpress.org/support/topic/281575).
711
* Now properly uses `compare_version` in lieu of old hacky versioning.
712
713
= 3.0.9 =
714
* Added Uzbek, Greek, Cypriot Greek, and Vietnamese localizations
715
+ * Further bugfixes for the [pagination issue](https://wordpress.org/support/topic/267350)
716
717
= 3.0.8 =
718
+ * Bugfix: [a pagination issue](https://wordpress.org/support/topic/267350) (may not be completely fixed yet)
719
* Bugfix: a quick bugfix for widgets, thanks to Chris Northwood
720
* Added Korean and Lithuanian localizations
721
+ * Bugfix: [when ad-hoc caching was off, the cached status would always say "0% cached" ](https://wordpress.org/support/topic/286395)
722
+ * Bugfix: enabled Polish and Italian stopwords and [fixed encoding of Italian stopwords](https://wordpress.org/support/topic/288808).
723
+ * Bugfix: `is_single` and other such flags are now set properly within the related posts Loop (as a result, now [compatible with WP Greet Box](https://wordpress.org/support/topic/288230))
724
* Confirmed compatibility with 2.8.2
725
+ * Bugfix: [the Related Posts metabox now respects the Screen Options](https://wordpress.org/support/topic/289290)
726
727
= 3.0.7 =
728
* Bugfix: additional bugfix for widgets.
729
* Reinstating excerpt length by number of words (was switched to letters in 3.0.6 without accompanying documentation)
730
* Localizations:
731
* Updated Italian
732
+ * Added Belarussian by Fat Cow
733
* Confirmed compatibility with 2.8.1
734
735
= 3.0.6 =
736
+ * Bugfix: [updated excerpting to use `wp_html_excerpt`](https://wordpress.org/support/topic/268934) (for WP 2.5+)
737
+ * Bugfix: [fixed broken widget display](https://wordpress.org/support/topic/276031)
738
* Added Russian (`ru_RU`) localization by Marat Latypov
739
* Confirmed 2.8 compatibility
740
+ * Added note on [incompatibility with SEO Pager plugin](https://wordpress.org/support/topic/267966)
741
742
= 3.0.5 =
743
+ * Added link to manual SQL setup information [by request](https://wordpress.org/support/topic/266752)
744
* Added Portuguese localization
745
* Updated info on "on the fly" caching - it is *strongly recommended* for larger blogs.
746
* Updated "incomplete cache" warning message so it is only displayed when the "on the fly" option is off.
756
* Added Polish localization
757
* Added note on DISQUS in readme
758
* Making some extra strings localizable
759
+ * Bugfix: [a problem with the Italian localization](https://wordpress.org/support/topic/265952)
760
761
= 3.0.2 =
762
+ * Bugfix: [Templating wasn't working with child templates.](https://wordpress.org/support/topic/265515)
763
+ * Bugfix: In some situations, [SQL errors were printed in the AJAX preview displays](https://wordpress.org/support/topic/265728).
764
765
= 3.0.1 =
766
* Bugfix: In some situations before YARPP options were updated, an `include` PHP error was displayed.
776
* Versioning bugfix - same as 2.1.5
777
778
= 2.1.5 =
779
+ * Bugfix: In certain scenarios, [related posts would be displayed in RSS feeds even when that option was off](https://wordpress.org/support/topic/216145)
780
* Bugfix: The `related_*()` functions were missing the `echo` parameter
781
* Some localization bugfixes
782
* Localizations:
783
+ * Japanese (`ja`) by Michael Yoshitaka Erlewine
784
785
= 2.1.4 =
786
+ * Bugfix: [Settings' sumbmit button took you to PayPal](https://wordpress.org/support/topic/214090)
787
+ * Bugfix: Fixed [keyword algorithm for users without `mbstring`](https://wordpress.org/support/topic/216420)
788
* Bugfix: `title` attributes were not properly escaped
789
+ * Bugfix: [keywords did not filter tags](https://wordpress.org/support/topic/218211). (This bugfix may vastly improve "relatedness" on some blogs.)
790
* Localizations:
791
+ * Simplified Chinese (`zh_CN`) by Jor Wang (mail at jorwang dot com) of jorwang.com
792
+ * German (`de_DE`) by Michael Kalina of 3th.be
793
+ * The "show excerpt" option now shows the first `n` words of the excerpt, rather than the content ([by request](https://wordpress.org/support/topic/212577))
794
* Added an `echo` parameter to the `related_*()` functions, with default value of `true`. If `false`, the function will simply return the output.
795
+ * Added support for the [AllWebMenus Pro](https://wordpress.org/extend/plugins/allwebmenus-wordpress-menu-plugin/) plugin
796
* Further internationalization:
797
* the donate button! ^^
798
+ * overused words lists ([by request](https://wordpress.org/support/topic/159359))), with a German word list.
799
800
= 2.1.3 =
801
+ * Bugfix: Turned off [the experimental caching](https://wordpress.org/support/topic/216194#post-894440) which shouldn't have been on in this release...
802
+ * Bugfix: an issue with the [keywords algorithm for non-ASCII characters](https://wordpress.org/support/topic/216078)
803
804
= 2.1.2 =
805
* Bugfix: MyISAM override handling bug
806
807
= 2.1.1 =
808
* Bugfix: keywords with forward slashes (\) could make the main SQL query ill-formed.
809
+ * Bugfix: Added an override option for the [false MyISAM warnings](https://wordpress.org/support/topic/211043).
810
* Preparing for localization! (See note at the bottom of the FAQ.)
811
* Adding a debug mode--just try adding `&yarpp_debug=1` to your URL's and look at the HTML source.
812
813
= 2.1 - The RSS edition! =
814
+ * RSS feed support!: the option to automagically show related posts in RSS feeds and to customize their display, [by popular request](https://wordpress.org/support/topic/151766).
815
+ * A link to [the Yet Another Related Posts Plugin RSS feed](https://wordpress.org/support/topic/208469).
816
* Further optimization of the main SQL query in cases where not all of the match criteria (title, body, tags, categories) are chosen.
817
* A new format for pushing arguments to the `related_posts()` functions.
818
+ * Bugfix: [compatibility](https://wordpress.org/support/topic/207286) with the [dzoneZ-Et](https://wordpress.org/extend/plugins/dzonez-et/) and [reddZ-Et](https://wordpress.org/extend/plugins/reddz-et/) plugins.
819
* Bugfix: `related_*_exist()` functions produced invalid queries
820
* A warning for `wp_posts` with non-MyISAM engines and semi-compatibility with non-MyISAM setups.
821
* Bugfix: [a better notice for users of Wordpress < 2.5](http://www.mattcutts.com/blog/wordpress-plugin-related-posts/#comment-131194) regarding the "compare tags" and "compare categories" features.
826
= 2.0.5 =
827
* Further optimized algorithm - should be faster on most systems. Good bye [subqueries](http://dev.mysql.com/doc/refman/5.0/en/unnamed-views.html)!
828
* Bugfix: restored MySQL 4.0 support
829
+ * Bugfix: [widgets required the "auto display" option](https://wordpress.org/support/topic/190454)
830
* Bugfix: sometimes default values were not set properly on (re)activation
831
+ * Bugfix: [quotes in HTML tag options would get escaped](https://wordpress.org/support/topic/199139)
832
* Bugfix: `user_level` was being checked in a deprecated manner
833
* A helpful little tooltip for the admin-only threshold display
834
837
* Bugfix: updated `apply_filters` to work with WP 2.6
838
839
= 2.0.3 =
840
+ * Bugfix: [2.0.2 accidentally required some tags or categories to be disabled](https://wordpress.org/support/topic/188745)
841
842
= 2.0.2 =
843
* Versioning bugfix (rerelease of 2.0.1)
844
845
= 2.0.1 =
846
* Bugfix: [`admin_menu` instead of `admin_head`](http://konstruktors.com/blog/wordpress/277-fixing-postpost-and-ozh-absolute-comments-plugins/)
847
+ * Bugfix: [a variable scope issue](https://wordpress.org/support/topic/188550) crucial for 2.0 upgrading
848
849
= 2.0 =
850
* New algorithm which considers tags and categories, by frequent request
851
+ * Order by score, date, or title, [by request](https://wordpress.org/support/topic/158459)
852
+ * Excluding certain tags or categories, [by request](https://wordpress.org/support/topic/161263)
853
* Sample output displayed in the options screen
854
+ * Bugfix: [an excerpt length bug](https://wordpress.org/support/topic/155034?replies=5)
855
* Bugfix: now compatible with the following plugins:
856
- diggZEt
857
- WP-Syntax
878
* Initial upload
879
880
== Upgrade Notice ==
881
+ = 5.0.1 =
882
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!
883
yarpp.php CHANGED
@@ -2,7 +2,7 @@
2
/*
3
Plugin Name: Yet Another Related Posts Plugin
4
Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm.
5
- Version: 5.0.0
6
Author: YARPP
7
Author URI: http://www.yarpp.com/
8
Plugin URI: http://www.yarpp.com/
@@ -14,7 +14,7 @@ if(!defined('WP_CONTENT_DIR')){
14
define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
15
}
16
17
- define('YARPP_VERSION', '5.0.0');
18
define('YARPP_DIR', dirname(__FILE__));
19
define('YARPP_URL', plugins_url('',__FILE__));
20
define('YARPP_NO_RELATED', ':(');
2
/*
3
Plugin Name: Yet Another Related Posts Plugin
4
Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm.
5
+ Version: 5.0.1
6
Author: YARPP
7
Author URI: http://www.yarpp.com/
8
Plugin URI: http://www.yarpp.com/
14
define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
15
}
16
17
+ define('YARPP_VERSION', '5.0.1');
18
define('YARPP_DIR', dirname(__FILE__));
19
define('YARPP_URL', plugins_url('',__FILE__));
20
define('YARPP_NO_RELATED', ':(');