Version Description
- 2021/03/16
- fixed a small security issue
Download this release
Release Info
Developer | WebFactory |
Plugin | Eggplant 301 Redirects |
Version | 2.67 |
Comparing to | |
See all releases |
Code changes from version 2.66 to 2.67
- css/eps_redirect.css +2 -0
- eps-301-redirects.php +4 -4
- eps-form-elements.php +1 -1
- libs/eps-plugin-options.php +1 -1
- readme.txt +5 -1
css/eps_redirect.css
CHANGED
@@ -581,6 +581,7 @@ x#eps-pro-table tr td:last-child {
|
|
581 |
|
582 |
#eps-pro-table tr:last-child td {
|
583 |
padding: 20px 0 25px 0;
|
|
|
584 |
}
|
585 |
|
586 |
#eps-pro-table tr:last-child td span {
|
@@ -603,6 +604,7 @@ a.button.button-buy {
|
|
603 |
background: #FF6246;
|
604 |
font-weight: 600;
|
605 |
border: none;
|
|
|
606 |
}
|
607 |
|
608 |
a.button.button-buy:hover {
|
581 |
|
582 |
#eps-pro-table tr:last-child td {
|
583 |
padding: 20px 0 25px 0;
|
584 |
+
vertical-align: top;
|
585 |
}
|
586 |
|
587 |
#eps-pro-table tr:last-child td span {
|
604 |
background: #FF6246;
|
605 |
font-weight: 600;
|
606 |
border: none;
|
607 |
+
margin-bottom: 10px;
|
608 |
}
|
609 |
|
610 |
a.button.button-buy:hover {
|
eps-301-redirects.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: 301 Redirects
|
4 |
Description: Easily create and manage redirect rules, and view 404 error log.
|
5 |
-
Version: 2.
|
6 |
Author: WebFactory Ltd
|
7 |
Author URI: https://www.webfactoryltd.com/
|
8 |
Plugin URI: https://wp301redirects.com/
|
@@ -36,7 +36,7 @@ if (!defined('WF301_PLUGIN_FILE')) {
|
|
36 |
|
37 |
define('EPS_REDIRECT_PATH', plugin_dir_path(__FILE__));
|
38 |
define('EPS_REDIRECT_URL', plugins_url() . '/eps-301-redirects/');
|
39 |
-
define('EPS_REDIRECT_VERSION', '2.
|
40 |
define('EPS_REDIRECT_PRO', false);
|
41 |
|
42 |
include(EPS_REDIRECT_PATH . 'eps-form-elements.php');
|
@@ -83,7 +83,7 @@ if (!defined('WF301_PLUGIN_FILE')) {
|
|
83 |
if (defined('WP_CLI') && WP_CLI) {
|
84 |
} else {
|
85 |
add_action('init', array($this, 'do_redirect'), 1); // Priority 1 for redirects.
|
86 |
-
add_action('template_redirect', array($this, 'check_404'), 1);
|
87 |
}
|
88 |
}
|
89 |
}
|
@@ -156,7 +156,7 @@ if (!defined('WF301_PLUGIN_FILE')) {
|
|
156 |
echo '<td>' . $agent . '</td>';
|
157 |
echo '</tr>';
|
158 |
$i++;
|
159 |
-
if ($i >=
|
160 |
break;
|
161 |
}
|
162 |
} // foreach
|
2 |
/*
|
3 |
Plugin Name: 301 Redirects
|
4 |
Description: Easily create and manage redirect rules, and view 404 error log.
|
5 |
+
Version: 2.67
|
6 |
Author: WebFactory Ltd
|
7 |
Author URI: https://www.webfactoryltd.com/
|
8 |
Plugin URI: https://wp301redirects.com/
|
36 |
|
37 |
define('EPS_REDIRECT_PATH', plugin_dir_path(__FILE__));
|
38 |
define('EPS_REDIRECT_URL', plugins_url() . '/eps-301-redirects/');
|
39 |
+
define('EPS_REDIRECT_VERSION', '2.67');
|
40 |
define('EPS_REDIRECT_PRO', false);
|
41 |
|
42 |
include(EPS_REDIRECT_PATH . 'eps-form-elements.php');
|
83 |
if (defined('WP_CLI') && WP_CLI) {
|
84 |
} else {
|
85 |
add_action('init', array($this, 'do_redirect'), 1); // Priority 1 for redirects.
|
86 |
+
add_action('template_redirect', array($this, 'check_404'), 1);
|
87 |
}
|
88 |
}
|
89 |
}
|
156 |
echo '<td>' . $agent . '</td>';
|
157 |
echo '</tr>';
|
158 |
$i++;
|
159 |
+
if ($i >= 6) {
|
160 |
break;
|
161 |
}
|
162 |
} // foreach
|
eps-form-elements.php
CHANGED
@@ -96,7 +96,7 @@ function eps_get_destination($redirect = false)
|
|
96 |
} else {
|
97 |
// This is redirect points to a url
|
98 |
?>
|
99 |
-
<a target="_blank" class="eps-url" href="<?php echo stripslashes(
|
100 |
<span class="eps-url-root eps-url-startcap">URL:</span><span
|
101 |
class="eps-url-fragment eps-url-endcap "><?php echo stripslashes(esc_attr($redirect->url_to)); ?></span>
|
102 |
</a>
|
96 |
} else {
|
97 |
// This is redirect points to a url
|
98 |
?>
|
99 |
+
<a target="_blank" class="eps-url" href="<?php echo stripslashes(esc_url($redirect->url_to)); ?>" title="<?php echo stripslashes(esc_attr($redirect->url_to)); ?>">
|
100 |
<span class="eps-url-root eps-url-startcap">URL:</span><span
|
101 |
class="eps-url-fragment eps-url-endcap "><?php echo stripslashes(esc_attr($redirect->url_to)); ?></span>
|
102 |
</a>
|
libs/eps-plugin-options.php
CHANGED
@@ -477,7 +477,7 @@ function pro_dialog() {
|
|
477 |
$out .= '</tr>';
|
478 |
|
479 |
$out .= '<tr>';
|
480 |
-
$out .= '<td><span>one-time payment</span><a class="button button-buy" data-href-org="https://wp301redirects.com/buy/?product=personal-launch&ref=pricing-table" href="https://wp301redirects.com/buy/?product=personal-launch&ref=pricing-table" target="_blank">BUY NOW</a></td>';
|
481 |
$out .= '<td><span>one-time payment</span><a class="button button-buy" data-href-org="https://wp301redirects.com/buy/?product=team-launch&ref=pricing-table" href="https://wp301redirects.com/buy/?product=team-launch&ref=pricing-table" target="_blank">BUY NOW</a></td>';
|
482 |
$out .= '<td><span>one-time payment</span><a class="button button-buy" data-href-org="https://wp301redirects.com/buy/?product=agency-launch&ref=pricing-table" href="https://wp301redirects.com/buy/?product=agency-launch&ref=pricing-table" target="_blank">BUY NOW</a></td>';
|
483 |
$out .= '</tr>';
|
477 |
$out .= '</tr>';
|
478 |
|
479 |
$out .= '<tr>';
|
480 |
+
$out .= '<td><span>one-time payment</span><a class="button button-buy" data-href-org="https://wp301redirects.com/buy/?product=personal-launch&ref=pricing-table" href="https://wp301redirects.com/buy/?product=personal-launch&ref=pricing-table" target="_blank">BUY NOW</a><br>- or -<br><a target="_blank" class="button-buy" data-href-org="https://wp301redirects.com/buy/?product=personal-monthly&ref=pricing-table" href="https://wp301redirects.com/buy/?product=personal-monthly&ref=pricing-table">Only $5.99 <small>/month</small></a></td>';
|
481 |
$out .= '<td><span>one-time payment</span><a class="button button-buy" data-href-org="https://wp301redirects.com/buy/?product=team-launch&ref=pricing-table" href="https://wp301redirects.com/buy/?product=team-launch&ref=pricing-table" target="_blank">BUY NOW</a></td>';
|
482 |
$out .= '<td><span>one-time payment</span><a class="button button-buy" data-href-org="https://wp301redirects.com/buy/?product=agency-launch&ref=pricing-table" href="https://wp301redirects.com/buy/?product=agency-launch&ref=pricing-table" target="_blank">BUY NOW</a></td>';
|
483 |
$out .= '</tr>';
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: WebFactory
|
|
3 |
Tags: 301 redirect, redirects, redirect, 404 error log, redirection, 302 redirect, 302, seo, 302 redirect, 404, 404 redirect, 301, 307, 404 log
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.7
|
6 |
-
Stable tag: 2.
|
7 |
Requires PHP: 5.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -69,6 +69,10 @@ The 404 error log does not collect user IPs. It collects the following data: tim
|
|
69 |
|
70 |
== Changelog ==
|
71 |
|
|
|
|
|
|
|
|
|
72 |
= 2.66 =
|
73 |
* 2021/02/23
|
74 |
* fixed compatibility issue with Rank Math
|
3 |
Tags: 301 redirect, redirects, redirect, 404 error log, redirection, 302 redirect, 302, seo, 302 redirect, 404, 404 redirect, 301, 307, 404 log
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.7
|
6 |
+
Stable tag: 2.67
|
7 |
Requires PHP: 5.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
69 |
|
70 |
== Changelog ==
|
71 |
|
72 |
+
= 2.67 =
|
73 |
+
* 2021/03/16
|
74 |
+
* fixed a small security issue
|
75 |
+
|
76 |
= 2.66 =
|
77 |
* 2021/02/23
|
78 |
* fixed compatibility issue with Rank Math
|