Version Description
- Removed a deprecated feature for which some users reported performance issues
Download this release
Release Info
Developer | sovrn |
Plugin | WordPress Related Posts |
Version | 3.6.1 |
Comparing to | |
See all releases |
Code changes from version 3.6 to 3.6.1
- config.php +8 -0
- init.php +1 -3
- readme.txt +5 -2
- wp_related_posts.php +3 -3
config.php
CHANGED
@@ -256,6 +256,14 @@ function wp_rp_is_classic() {
|
|
256 |
return false;
|
257 |
}
|
258 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
259 |
function wp_rp_migrate_3_5_4() {
|
260 |
$meta = get_option('wp_rp_meta');
|
261 |
$meta['version'] = '3.6';
|
256 |
return false;
|
257 |
}
|
258 |
|
259 |
+
function wp_rp_migrate_3_6() {
|
260 |
+
$meta = get_option('wp_rp_meta');
|
261 |
+
$meta['version'] = '3.6.1';
|
262 |
+
$meta['new_user'] = false;
|
263 |
+
update_option('wp_rp_meta', $meta);
|
264 |
+
}
|
265 |
+
|
266 |
+
|
267 |
function wp_rp_migrate_3_5_4() {
|
268 |
$meta = get_option('wp_rp_meta');
|
269 |
$meta['version'] = '3.6';
|
init.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
define('WP_RP_VERSION', '3.6');
|
3 |
|
4 |
define('WP_RP_PLUGIN_FILE', plugin_basename(__FILE__));
|
5 |
|
@@ -445,8 +445,6 @@ function wp_rp_head_resources() {
|
|
445 |
|
446 |
$output .= "<script type=\"text/javascript\">\n" . $output_vars . "</script>\n";
|
447 |
|
448 |
-
$output .= '<script type="text/javascript" src="' . WP_RP_STATIC_BASE_URL . WP_RP_STATIC_LOADER_FILE . '?version=' . WP_RP_VERSION . '" async></script>' . "\n";
|
449 |
-
|
450 |
$static_url = plugins_url('static/', __FILE__);
|
451 |
$theme_url = plugins_url(WP_RP_STATIC_THEMES_PATH, __FILE__);
|
452 |
|
1 |
<?php
|
2 |
+
define('WP_RP_VERSION', '3.6.1');
|
3 |
|
4 |
define('WP_RP_PLUGIN_FILE', plugin_basename(__FILE__));
|
5 |
|
445 |
|
446 |
$output .= "<script type=\"text/javascript\">\n" . $output_vars . "</script>\n";
|
447 |
|
|
|
|
|
448 |
$static_url = plugins_url('static/', __FILE__);
|
449 |
$theme_url = plugins_url(WP_RP_STATIC_THEMES_PATH, __FILE__);
|
450 |
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Plugin Name ===
|
2 |
-
Contributors: zemanta
|
3 |
Tags: related,posts,post,related posts,plugin,seo
|
4 |
License: GPLv2
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 3.6
|
8 |
|
9 |
WordPress Related Posts - the plugin for related posts with thumbnails. Caching included.
|
10 |
|
@@ -93,6 +93,9 @@ Fix for security vulnerability. Upgrade immediately.
|
|
93 |
|
94 |
== Changelog ==
|
95 |
|
|
|
|
|
|
|
96 |
= 3.6 =
|
97 |
* Support for category names in related posts
|
98 |
|
1 |
=== Plugin Name ===
|
2 |
+
Contributors: sovrn, zemanta
|
3 |
Tags: related,posts,post,related posts,plugin,seo
|
4 |
License: GPLv2
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 3.6.1
|
8 |
|
9 |
WordPress Related Posts - the plugin for related posts with thumbnails. Caching included.
|
10 |
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 3.6.1 =
|
97 |
+
* Removed a deprecated feature for which some users reported performance issues
|
98 |
+
|
99 |
= 3.6 =
|
100 |
* Support for category names in related posts
|
101 |
|
wp_related_posts.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WordPress Related Posts
|
4 |
-
Version: 3.6
|
5 |
Plugin URI: http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/
|
6 |
Description: Quickly increase your readers' engagement with your posts by adding Related Posts in the footer of your content. Click on <a href="admin.php?page=wordpress-related-posts">Related Posts tab</a> to configure your settings.
|
7 |
-
Author:
|
8 |
-
Author URI: http://www.
|
9 |
*/
|
10 |
|
11 |
if (! function_exists('wp_rp_init_zemanta')) {
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WordPress Related Posts
|
4 |
+
Version: 3.6.1
|
5 |
Plugin URI: http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/
|
6 |
Description: Quickly increase your readers' engagement with your posts by adding Related Posts in the footer of your content. Click on <a href="admin.php?page=wordpress-related-posts">Related Posts tab</a> to configure your settings.
|
7 |
+
Author: Sovrn, zemanta
|
8 |
+
Author URI: http://www.sovrn.com
|
9 |
*/
|
10 |
|
11 |
if (! function_exists('wp_rp_init_zemanta')) {
|