Version Description
- Compatability fix for PHP < 5.3
Download this release
Release Info
| Developer | johnny5 |
| Plugin | |
| Version | 2.3.9 |
| Comparing to | |
| See all releases | |
Code changes from version 2.3.8 to 2.3.9
- models/pager.php +12 -10
- readme.txt +4 -1
- redirection.php +1 -1
models/pager.php
CHANGED
|
@@ -113,21 +113,23 @@ class Redirection_Table extends WP_List_Table {
|
|
| 113 |
$redirections[] = $redirect;
|
| 114 |
}
|
| 115 |
|
| 116 |
-
array_map(
|
| 117 |
-
if ( $this->current_action() == 'reset' )
|
| 118 |
-
$item->reset();
|
| 119 |
-
elseif ( $this->current_action() == 'enable' )
|
| 120 |
-
$item->enable();
|
| 121 |
-
elseif ( $this->current_action() == 'disable' )
|
| 122 |
-
$item->disable();
|
| 123 |
-
elseif ( $this->current_action() == 'delete' )
|
| 124 |
-
$item->delete();
|
| 125 |
-
}, $redirections );
|
| 126 |
|
| 127 |
Red_Module::flush( $this->current_group->module_id );
|
| 128 |
}
|
| 129 |
}
|
| 130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
function extra_tablenav( $which ) {
|
| 132 |
if ( $which == 'bottom' )
|
| 133 |
return;
|
| 113 |
$redirections[] = $redirect;
|
| 114 |
}
|
| 115 |
|
| 116 |
+
array_map( array( &$this, 'process_action_items' ), $redirections );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
|
| 118 |
Red_Module::flush( $this->current_group->module_id );
|
| 119 |
}
|
| 120 |
}
|
| 121 |
|
| 122 |
+
function process_action_items( $item ) {
|
| 123 |
+
if ( $this->current_action() == 'reset' )
|
| 124 |
+
$item->reset();
|
| 125 |
+
elseif ( $this->current_action() == 'enable' )
|
| 126 |
+
$item->enable();
|
| 127 |
+
elseif ( $this->current_action() == 'disable' )
|
| 128 |
+
$item->disable();
|
| 129 |
+
elseif ( $this->current_action() == 'delete' )
|
| 130 |
+
$item->delete();
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
function extra_tablenav( $which ) {
|
| 134 |
if ( $which == 'bottom' )
|
| 135 |
return;
|
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: 4.1
|
| 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 |
|
|
@@ -90,6 +90,9 @@ The plugin works in a similar manner to how WordPress handles permalinks and sho
|
|
| 90 |
|
| 91 |
== Changelog ==
|
| 92 |
|
|
|
|
|
|
|
|
|
|
| 93 |
= 2.3.8 =
|
| 94 |
* Fix plugin activation error
|
| 95 |
* Fix fatal error in table nav, props to spacedmonkey
|
| 4 |
Tags: post, admin, seo, pages, manage, 301, 404, redirect, permalink
|
| 5 |
Requires at least: 3.2
|
| 6 |
Tested up to: 4.1
|
| 7 |
+
Stable tag: 2.3.9
|
| 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 |
|
| 90 |
|
| 91 |
== Changelog ==
|
| 92 |
|
| 93 |
+
= 2.3.9 =
|
| 94 |
+
* Compatability fix for PHP < 5.3
|
| 95 |
+
|
| 96 |
= 2.3.8 =
|
| 97 |
* Fix plugin activation error
|
| 98 |
* Fix fatal error in table nav, props to spacedmonkey
|
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 |
============================================================================================================
|
| 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.9
|
| 7 |
Author: John Godley
|
| 8 |
Author URI: http://urbangiraffe.com
|
| 9 |
============================================================================================================
|
