Version Description
- Another compatability fix for PHP < 5.3
- Fix incorrect module ID used when creating a group
- Fix .htaccess duplication, props to Jrg Liwa
Download this release
Release Info
Developer | johnny5 |
Plugin | Redirection |
Version | 2.3.10 |
Comparing to | |
See all releases |
Code changes from version 2.3.9 to 2.3.10
- models/pager.php +5 -3
- readme.txt +6 -1
- redirection.php +1 -1
- view/admin/group_list.php +1 -1
models/pager.php
CHANGED
@@ -288,12 +288,14 @@ class Redirection_Group_Table extends WP_List_Table {
|
|
288 |
$groups[] = $redirect;
|
289 |
}
|
290 |
|
291 |
-
array_map(
|
292 |
-
$item->delete();
|
293 |
-
}, $groups );
|
294 |
}
|
295 |
}
|
296 |
|
|
|
|
|
|
|
|
|
297 |
protected function extra_tablenav( $which ) {
|
298 |
if ( $which == 'bottom' )
|
299 |
return;
|
288 |
$groups[] = $redirect;
|
289 |
}
|
290 |
|
291 |
+
array_map( array( &$this, 'delete_item' ), $groups );
|
|
|
|
|
292 |
}
|
293 |
}
|
294 |
|
295 |
+
function delete_item( $item ) {
|
296 |
+
$item->delete();
|
297 |
+
}
|
298 |
+
|
299 |
protected function extra_tablenav( $which ) {
|
300 |
if ( $which == 'bottom' )
|
301 |
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,11 @@ The plugin works in a similar manner to how WordPress handles permalinks and sho
|
|
90 |
|
91 |
== Changelog ==
|
92 |
|
|
|
|
|
|
|
|
|
|
|
93 |
= 2.3.9 =
|
94 |
* Compatability fix for PHP < 5.3
|
95 |
|
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.10
|
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.10 =
|
94 |
+
* Another compatability fix for PHP < 5.3
|
95 |
+
* Fix incorrect module ID used when creating a group
|
96 |
+
* Fix .htaccess duplication, props to Jörg Liwa
|
97 |
+
|
98 |
= 2.3.9 =
|
99 |
* Compatability fix for PHP < 5.3
|
100 |
|
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.10
|
7 |
Author: John Godley
|
8 |
Author URI: http://urbangiraffe.com
|
9 |
============================================================================================================
|
view/admin/group_list.php
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
<th width="50"></th>
|
33 |
<td>
|
34 |
<input class="button-primary" type="submit" name="add" value="<?php esc_attr_e( 'Add', 'redirection' ); ?>"/>
|
35 |
-
<input type="hidden" name="module_id" value="<?php echo $module->
|
36 |
</td>
|
37 |
</tr>
|
38 |
</table>
|
32 |
<th width="50"></th>
|
33 |
<td>
|
34 |
<input class="button-primary" type="submit" name="add" value="<?php esc_attr_e( 'Add', 'redirection' ); ?>"/>
|
35 |
+
<input type="hidden" name="module_id" value="<?php echo $module->get_id() ?>"/>
|
36 |
</td>
|
37 |
</tr>
|
38 |
</table>
|