Version Description
Download this release
Release Info
Developer | barrykooij |
Plugin | Related Posts for WordPress |
Version | 2.0.4 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.0.4
- classes/class-rp4wp.php +2 -2
- classes/meta-boxes/class-meta-box-manage.php +2 -2
- readme.txt +5 -2
- related-posts-for-wp.php +5 -5
classes/class-rp4wp.php
CHANGED
@@ -8,7 +8,7 @@ class RP4WP {
|
|
8 |
|
9 |
private static $instance = null;
|
10 |
|
11 |
-
const VERSION = '2.0.
|
12 |
|
13 |
/**
|
14 |
* @var RP4WP_Settings
|
@@ -121,4 +121,4 @@ class RP4WP {
|
|
121 |
$this->settings = new RP4WP_Settings();
|
122 |
}
|
123 |
|
124 |
-
}
|
8 |
|
9 |
private static $instance = null;
|
10 |
|
11 |
+
const VERSION = '2.0.4';
|
12 |
|
13 |
/**
|
14 |
* @var RP4WP_Settings
|
121 |
$this->settings = new RP4WP_Settings();
|
122 |
}
|
123 |
|
124 |
+
}
|
classes/meta-boxes/class-meta-box-manage.php
CHANGED
@@ -67,7 +67,7 @@ class RP4WP_Meta_Box_Manage {
|
|
67 |
|
68 |
// WPML check
|
69 |
if ( isset( $_GET['lang'] ) ) {
|
70 |
-
$url .= "&lang=" . $_GET['lang'];
|
71 |
}
|
72 |
|
73 |
echo "<span id='view-post-btn'>";
|
@@ -121,4 +121,4 @@ class RP4WP_Meta_Box_Manage {
|
|
121 |
echo "</div>\n";
|
122 |
}
|
123 |
|
124 |
-
}
|
67 |
|
68 |
// WPML check
|
69 |
if ( isset( $_GET['lang'] ) ) {
|
70 |
+
$url .= "&lang=" . esc_attr( $_GET['lang'] );
|
71 |
}
|
72 |
|
73 |
echo "<span id='view-post-btn'>";
|
121 |
echo "</div>\n";
|
122 |
}
|
123 |
|
124 |
+
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: never5, barrykooij, hchouhan
|
|
3 |
Donate link: http://www.barrykooij.com/donate/
|
4 |
Tags: related posts for wordpress, related posts for wp, simple related posts, easy related posts, related posts, related post, related, relations, internal links, seo, bounce rate
|
5 |
Requires at least: 3.6
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -118,6 +118,9 @@ There is one custom table created for the post cache, this table will however no
|
|
118 |
|
119 |
== Changelog ==
|
120 |
|
|
|
|
|
|
|
121 |
= 2.0.3: March 2, 2018 =
|
122 |
* Tweak: Removed hard removal of non a-z0-9 characters because this removes all non-latin chars causing issues for non-latin languages. Instead we're now using a specific blacklist of characters that needs to be removed. Also moved this to convert_characters so we apply this blacklist also to title,taxonomy,etc.
|
123 |
* Tweak: Made case lowering of words in cache UTF-8 compatible, solving an issue with non-latin characters.
|
3 |
Donate link: http://www.barrykooij.com/donate/
|
4 |
Tags: related posts for wordpress, related posts for wp, simple related posts, easy related posts, related posts, related post, related, relations, internal links, seo, bounce rate
|
5 |
Requires at least: 3.6
|
6 |
+
Tested up to: 5.7
|
7 |
+
Stable tag: 2.0.4
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
118 |
|
119 |
== Changelog ==
|
120 |
|
121 |
+
= 2.0.4: March 15, 2021 =
|
122 |
+
* Tweak: Fixed an XSS vulnerability with WPML language GET attribute.
|
123 |
+
|
124 |
= 2.0.3: March 2, 2018 =
|
125 |
* Tweak: Removed hard removal of non a-z0-9 characters because this removes all non-latin chars causing issues for non-latin languages. Instead we're now using a specific blacklist of characters that needs to be removed. Also moved this to convert_characters so we apply this blacklist also to title,taxonomy,etc.
|
126 |
* Tweak: Made case lowering of words in cache UTF-8 compatible, solving an issue with non-latin characters.
|
related-posts-for-wp.php
CHANGED
@@ -3,21 +3,21 @@
|
|
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: 2.0.
|
7 |
Author: Never5
|
8 |
Author URI: http://www.never5.com/
|
9 |
License: GPL v3
|
10 |
-
|
11 |
This program is free software: you can redistribute it and/or modify
|
12 |
it under the terms of the GNU General Public License as published by
|
13 |
the Free Software Foundation, either version 3 of the License, or
|
14 |
(at your option) any later version.
|
15 |
-
|
16 |
This program is distributed in the hope that it will be useful,
|
17 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
18 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
19 |
GNU General Public License for more details.
|
20 |
-
|
21 |
You should have received a copy of the GNU General Public License
|
22 |
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
23 |
*/
|
@@ -57,4 +57,4 @@ if ( is_admin() && ! is_multisite() && ( false === defined( 'DOING_AJAX' ) || fa
|
|
57 |
|
58 |
// Activation hook
|
59 |
register_activation_hook( __FILE__, 'rp4wp_activate_plugin' );
|
60 |
-
}
|
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: 2.0.4
|
7 |
Author: Never5
|
8 |
Author URI: http://www.never5.com/
|
9 |
License: GPL v3
|
10 |
+
|
11 |
This program is free software: you can redistribute it and/or modify
|
12 |
it under the terms of the GNU General Public License as published by
|
13 |
the Free Software Foundation, either version 3 of the License, or
|
14 |
(at your option) any later version.
|
15 |
+
|
16 |
This program is distributed in the hope that it will be useful,
|
17 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
18 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
19 |
GNU General Public License for more details.
|
20 |
+
|
21 |
You should have received a copy of the GNU General Public License
|
22 |
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
23 |
*/
|
57 |
|
58 |
// Activation hook
|
59 |
register_activation_hook( __FILE__, 'rp4wp_activate_plugin' );
|
60 |
+
}
|