New parameters comment_count, comment_count_min (>=) and comment_count_max (<=) to filter by comment count. The value is always an integer. comment_count also takes negative values, which means “not”. Requires WordPress 4.9+.
Whitelisted more tracking parameters for Google and Matomo Analytics.
New parameter ‘bias’, to be used together with ‘?redirect_to=random’ and ‘count’. The value of this parameter is a percentage that determines how much the posts determined by ‘count’ will be preferred over the rest. Example: www.example.com/?redirect_to=random&count=10&bias=80 -> The most recent 10 posts will be preferred with an 80% probability. Can be used together with ‘offset’.
New parameter “count” that can be used together with “random” to limit the pool of posts to the most recent (count has positive number) or first (count has negative number). Can be used together with “offset”.
Changed default for cache to 60 seconds (Override it with cache=0)
Random posts are now always determined by PHP, not the database
New parameter “offset” to retrieve the 2nd, 3rd, (integer > 3)th post. Default is 0 (i.e. 1st). For example “offset=1” means 2nd post. An offset too high will trigger the procedure for the case when no post was found.
New parameter “suppress_filters” . Default is 1 (on). Turn off (“suppress_filters=0”) when you use WPML so that WPML can filter by language.
New parameter “cache” to cache the result retrieved from the database. Used with a number in seconds. Caches the total amount of posts when used with “random”. Can be enforced with constant “CHATTY_MANGO_RUTP_CACHE” (in wp-config.php).