Version Description
- Bug fix.
- Fixed permission issue on redirect link on plugin activation.
Download this release
Release Info
Developer | joelcj91 |
Plugin | ![]() |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- 404-to-301.php +3 -3
- readme.txt +9 -5
404-to-301.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
Plugin URI: http://www.joelsays.com/plugins/404-to-301/
|
6 |
Description: Redirect all 404 pages to any page using 301 redirect.
|
7 |
Author: Joel James
|
8 |
-
Version: 1.0.
|
9 |
Author URI: http://www.joelsays.com/about/
|
10 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
|
11 |
Copyright (c) 2014 Joel James
|
@@ -51,7 +51,7 @@ if(!function_exists('js_404_start_redirect')) {
|
|
51 |
function js_404_start_redirect() {
|
52 |
if (get_option('js_404_activation_redirect', false)):
|
53 |
delete_option('js_404_activation_redirect');
|
54 |
-
wp_redirect('options-general.php?page=
|
55 |
endif;
|
56 |
}
|
57 |
}
|
@@ -60,7 +60,7 @@ if(!function_exists('js_404_action_links')) {
|
|
60 |
function js_404_action_links($links, $file) {
|
61 |
$plugin_file = basename(__FILE__);
|
62 |
if (basename($file) == $plugin_file) :
|
63 |
-
$settings_link = '<a href="options-general.php?page=
|
64 |
array_unshift($links, $settings_link);
|
65 |
endif;
|
66 |
return $links;
|
5 |
Plugin URI: http://www.joelsays.com/plugins/404-to-301/
|
6 |
Description: Redirect all 404 pages to any page using 301 redirect.
|
7 |
Author: Joel James
|
8 |
+
Version: 1.0.5
|
9 |
Author URI: http://www.joelsays.com/about/
|
10 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
|
11 |
Copyright (c) 2014 Joel James
|
51 |
function js_404_start_redirect() {
|
52 |
if (get_option('js_404_activation_redirect', false)):
|
53 |
delete_option('js_404_activation_redirect');
|
54 |
+
wp_redirect('options-general.php?page=js-options');
|
55 |
endif;
|
56 |
}
|
57 |
}
|
60 |
function js_404_action_links($links, $file) {
|
61 |
$plugin_file = basename(__FILE__);
|
62 |
if (basename($file) == $plugin_file) :
|
63 |
+
$settings_link = '<a href="options-general.php?page=js-options">Settings</a>';
|
64 |
array_unshift($links, $settings_link);
|
65 |
endif;
|
66 |
return $links;
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: 404, 301, 302, 307, not found, 404 redirect, 404 to 301, 301 redirect
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -34,7 +34,7 @@ Features of <a href="http://www.joelsays.com/plugins/404-to-301/">404 to 301</a>
|
|
34 |
|
35 |
== Support ==
|
36 |
|
37 |
-
Current Version: 1.0.
|
38 |
|
39 |
Author: Joel James
|
40 |
Author URI: http://www.joelsays.com/ <br/>
|
@@ -69,9 +69,13 @@ You can choose redirection types like 301,302 and 307.
|
|
69 |
|
70 |
== Changelog ==
|
71 |
|
|
|
|
|
|
|
|
|
72 |
= 1.0.4 =
|
73 |
* Bug fix.
|
74 |
-
* Fixed
|
75 |
|
76 |
= 1.0.3 =
|
77 |
* Added official support forum.
|
@@ -85,7 +89,7 @@ You can choose redirection types like 301,302 and 307.
|
|
85 |
|
86 |
== Upgrade Notice ==
|
87 |
|
88 |
-
= 1.0.
|
89 |
|
90 |
* Bug fix.
|
91 |
-
* Fixed
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 1.0.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
34 |
|
35 |
== Support ==
|
36 |
|
37 |
+
Current Version: 1.0.5
|
38 |
|
39 |
Author: Joel James
|
40 |
Author URI: http://www.joelsays.com/ <br/>
|
69 |
|
70 |
== Changelog ==
|
71 |
|
72 |
+
= 1.0.5 =
|
73 |
+
* Bug fix.
|
74 |
+
* Fixed permission issue on redirect link on plugin activation.
|
75 |
+
|
76 |
= 1.0.4 =
|
77 |
* Bug fix.
|
78 |
+
* Fixed permission issue on activating along with some security plugins like WordFence.
|
79 |
|
80 |
= 1.0.3 =
|
81 |
* Added official support forum.
|
89 |
|
90 |
== Upgrade Notice ==
|
91 |
|
92 |
+
= 1.0.5 =
|
93 |
|
94 |
* Bug fix.
|
95 |
+
* Fixed permission issue on redirect link on plugin activation.
|