Version Description
- Fix escaping of URL in admin page
Download this release
Release Info
| Developer | johnny5 |
| Plugin | |
| Version | 2.3.4 |
| Comparing to | |
| See all releases | |
Code changes from version 2.3.3 to 2.3.4
- readme.txt +4 -1
- redirection.php +1 -2
- view/admin/item.php +4 -2
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: http://urbangiraffe.com/about/
|
|
| 4 |
Tags: post, admin, seo, pages, manage, 301, 404, redirect, permalink
|
| 5 |
Requires at least: 3.2
|
| 6 |
Tested up to: 3.7
|
| 7 |
-
Stable tag: 2.3.
|
| 8 |
|
| 9 |
Redirection is a WordPress plugin to manage 301 redirections and keep track of 404 errors without requiring knowledge of Apache .htaccess files.
|
| 10 |
|
|
@@ -95,6 +95,9 @@ Full documentation can be found on the [Redirection](http://urbangiraffe.com/plu
|
|
| 95 |
|
| 96 |
== Changelog ==
|
| 97 |
|
|
|
|
|
|
|
|
|
|
| 98 |
= 2.3.3 =
|
| 99 |
* Fix PHP strict, props to Juliette Folmer
|
| 100 |
* Fix RSS entry date, props to Juliette
|
| 4 |
Tags: post, admin, seo, pages, manage, 301, 404, redirect, permalink
|
| 5 |
Requires at least: 3.2
|
| 6 |
Tested up to: 3.7
|
| 7 |
+
Stable tag: 2.3.4
|
| 8 |
|
| 9 |
Redirection is a WordPress plugin to manage 301 redirections and keep track of 404 errors without requiring knowledge of Apache .htaccess files.
|
| 10 |
|
| 95 |
|
| 96 |
== Changelog ==
|
| 97 |
|
| 98 |
+
= 2.3.4 =
|
| 99 |
+
* Fix escaping of URL in admin page
|
| 100 |
+
|
| 101 |
= 2.3.3 =
|
| 102 |
* Fix PHP strict, props to Juliette Folmer
|
| 103 |
* Fix RSS entry date, props to Juliette
|
redirection.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: Redirection
|
| 4 |
Plugin URI: http://urbangiraffe.com/plugins/redirection/
|
| 5 |
Description: Manage all your 301 redirects and monitor 404 errors
|
| 6 |
-
Version: 2.3.
|
| 7 |
Author: John Godley
|
| 8 |
Author URI: http://urbangiraffe.com
|
| 9 |
============================================================================================================
|
|
@@ -203,7 +203,6 @@ class Redirection extends Redirection_Plugin {
|
|
| 203 |
|
| 204 |
function admin_screen_options() {
|
| 205 |
if ( isset( $_POST['update'] ) && check_admin_referer( 'redirection-update_options' ) ) {
|
| 206 |
-
$options['lookup'] = stripslashes( $_POST['lookup'] );
|
| 207 |
$options['monitor_post'] = stripslashes( $_POST['monitor_post'] );
|
| 208 |
// $options['monitor_category'] = stripslashes( $_POST['monitor_category'] );
|
| 209 |
$options['auto_target'] = stripslashes( $_POST['auto_target'] );
|
| 3 |
Plugin Name: Redirection
|
| 4 |
Plugin URI: http://urbangiraffe.com/plugins/redirection/
|
| 5 |
Description: Manage all your 301 redirects and monitor 404 errors
|
| 6 |
+
Version: 2.3.4
|
| 7 |
Author: John Godley
|
| 8 |
Author URI: http://urbangiraffe.com
|
| 9 |
============================================================================================================
|
| 203 |
|
| 204 |
function admin_screen_options() {
|
| 205 |
if ( isset( $_POST['update'] ) && check_admin_referer( 'redirection-update_options' ) ) {
|
|
|
|
| 206 |
$options['monitor_post'] = stripslashes( $_POST['monitor_post'] );
|
| 207 |
// $options['monitor_category'] = stripslashes( $_POST['monitor_category'] );
|
| 208 |
$options['auto_target'] = stripslashes( $_POST['auto_target'] );
|
view/admin/item.php
CHANGED
|
@@ -17,9 +17,11 @@
|
|
| 17 |
</div>
|
| 18 |
|
| 19 |
<div class="item<?php if ($redirect->regex) echo ' item-regex' ?>">
|
| 20 |
-
<input type="checkbox" class="check" name="checkall[]" value="<?php echo $redirect->id ?>"/>
|
| 21 |
|
| 22 |
-
<a href="<?php echo $this->url
|
|
|
|
|
|
|
| 23 |
|
| 24 |
<?php if ($redirect->match_type != 'url') echo '('.esc_html( $redirect->match_name() ).')' ?>
|
| 25 |
|
| 17 |
</div>
|
| 18 |
|
| 19 |
<div class="item<?php if ($redirect->regex) echo ' item-regex' ?>">
|
| 20 |
+
<input type="checkbox" class="check" name="checkall[]" value="<?php echo esc_attr( $redirect->id ) ?>"/>
|
| 21 |
|
| 22 |
+
<a href="<?php echo esc_attr( $this->url( $redirect->url ) ) ?>" class="redirection-edit">
|
| 23 |
+
<?php if ($redirect->title) echo esc_html( $redirect->title ); else echo esc_html( RE_Log::show_url( $redirect->url ) ); ?>
|
| 24 |
+
</a>
|
| 25 |
|
| 26 |
<?php if ($redirect->match_type != 'url') echo '('.esc_html( $redirect->match_name() ).')' ?>
|
| 27 |
|
