Version Description
Download this release
Release Info
Developer | barrykooij |
Plugin | Related Posts for WordPress |
Version | 1.8.2 |
Comparing to | |
See all releases |
Code changes from version 1.8.1 to 1.8.2
- classes/class-link-related-table.php +2 -2
- classes/class-rp4wp.php +1 -1
- readme.txt +4 -1
- related-posts-for-wp.php +1 -1
classes/class-link-related-table.php
CHANGED
@@ -51,10 +51,10 @@ class RP4WP_Link_Related_Table extends WP_List_Table {
|
|
51 |
$new_views = array();
|
52 |
|
53 |
foreach ( $views_arr as $key => $val ) {
|
54 |
-
$new_views[ $key ] = "<a href='" . add_query_arg( array(
|
55 |
'rp4wp_view' => $key,
|
56 |
'paged' => 1
|
57 |
-
) ) . "'" . ( ( $current == $key ) ? " class='current'" : "" ) . ">{$val}</a>";
|
58 |
}
|
59 |
|
60 |
return $new_views;
|
51 |
$new_views = array();
|
52 |
|
53 |
foreach ( $views_arr as $key => $val ) {
|
54 |
+
$new_views[ $key ] = "<a href='" . esc_url( add_query_arg( array(
|
55 |
'rp4wp_view' => $key,
|
56 |
'paged' => 1
|
57 |
+
) ) ) . "'" . ( ( $current == $key ) ? " class='current'" : "" ) . ">{$val}</a>";
|
58 |
}
|
59 |
|
60 |
return $new_views;
|
classes/class-rp4wp.php
CHANGED
@@ -8,7 +8,7 @@ class RP4WP {
|
|
8 |
|
9 |
private static $instance = null;
|
10 |
|
11 |
-
const VERSION = '1.8.
|
12 |
|
13 |
/**
|
14 |
* @var RP4WP_Settings
|
8 |
|
9 |
private static $instance = null;
|
10 |
|
11 |
+
const VERSION = '1.8.2';
|
12 |
|
13 |
/**
|
14 |
* @var RP4WP_Settings
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.relatedpostsforwp.com/checkout/
|
|
4 |
Tags: related posts for wordpress, related posts for wp, simple related posts, easy related posts, related posts, related, relations, internal links, seo, bounce rate
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 4.1.1
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -115,6 +115,9 @@ There is one custom table created for the post cache, this table will however no
|
|
115 |
|
116 |
== Changelog ==
|
117 |
|
|
|
|
|
|
|
118 |
= 1.8.1: January 3, 2015 =
|
119 |
* Fixed a bug where UTF-8 encoded characters were not correctly parsed.
|
120 |
* Introduced icon alternative for when iconv isn't installed on server.
|
4 |
Tags: related posts for wordpress, related posts for wp, simple related posts, easy related posts, related posts, related, relations, internal links, seo, bounce rate
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 4.1.1
|
7 |
+
Stable tag: 1.8.2
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
115 |
|
116 |
== Changelog ==
|
117 |
|
118 |
+
= 1.8.2: April 20, 2015 =
|
119 |
+
* Escaped view filter URL when manually linking posts to prevent possible XSS.
|
120 |
+
|
121 |
= 1.8.1: January 3, 2015 =
|
122 |
* Fixed a bug where UTF-8 encoded characters were not correctly parsed.
|
123 |
* Introduced icon alternative for when iconv isn't installed on server.
|
related-posts-for-wp.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Related Posts for WordPress
|
4 |
Plugin URI: http://www.relatedpostsforwp.com/
|
5 |
Description: Related Posts for WordPress, the best way to display related posts in WordPress.
|
6 |
-
Version: 1.8.
|
7 |
Author: Barry Kooij
|
8 |
Author URI: http://www.barrykooij.com/
|
9 |
License: GPL v3
|
3 |
Plugin Name: Related Posts for WordPress
|
4 |
Plugin URI: http://www.relatedpostsforwp.com/
|
5 |
Description: Related Posts for WordPress, the best way to display related posts in WordPress.
|
6 |
+
Version: 1.8.2
|
7 |
Author: Barry Kooij
|
8 |
Author URI: http://www.barrykooij.com/
|
9 |
License: GPL v3
|