404 to 301 - Version 2.2.8

Version Description

(12/07/2016) = Bug Fixes

  • Fixed a minor bug on TOC button.
Download this release

Release Info

Developer joelcj91
Plugin Icon 128x128 404 to 301
Version 2.2.8
Comparing to
See all releases

Code changes from version 2.2.7 to 2.2.8

404-to-301.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: 404 to 301
4
  * Plugin URI: https://thefoxe.com/products/404-to-301/
5
  * Description: Automatically redirect all <strong>404 errors</strong> to any page using <strong>301 redirect for SEO</strong>. You can <strong>redirect and log</strong> every 404 errors. No more 404 errors in Webmaster tool.
6
- * Version: 2.2.7
7
  * Author: Joel James
8
  * Author URI: https://thefoxe.com/
9
  * Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
@@ -49,7 +49,7 @@ if ( ! class_exists( '_404_To_301' ) ) {
49
  'I4T3_HELP_PAGE' => admin_url( 'admin.php?page=i4t3-settings&tab=credits' ),
50
  'I4T3_LOGS_PAGE' => admin_url( 'admin.php?page=i4t3-logs' ),
51
  'I4T3_DB_VERSION' => '8',
52
- 'I4T3_VERSION' => '2.2.7',
53
  'I4T3_TABLE' => $GLOBALS['wpdb']->prefix . '404_to_301',
54
  // Set who all can access 404 settings.
55
  // You can change this if you want to give others access.
3
  * Plugin Name: 404 to 301
4
  * Plugin URI: https://thefoxe.com/products/404-to-301/
5
  * Description: Automatically redirect all <strong>404 errors</strong> to any page using <strong>301 redirect for SEO</strong>. You can <strong>redirect and log</strong> every 404 errors. No more 404 errors in Webmaster tool.
6
+ * Version: 2.2.8
7
  * Author: Joel James
8
  * Author URI: https://thefoxe.com/
9
  * Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
49
  'I4T3_HELP_PAGE' => admin_url( 'admin.php?page=i4t3-settings&tab=credits' ),
50
  'I4T3_LOGS_PAGE' => admin_url( 'admin.php?page=i4t3-logs' ),
51
  'I4T3_DB_VERSION' => '8',
52
+ 'I4T3_VERSION' => '2.2.8',
53
  'I4T3_TABLE' => $GLOBALS['wpdb']->prefix . '404_to_301',
54
  // Set who all can access 404 settings.
55
  // You can change this if you want to give others access.
admin/partials/404-to-301-admin-credits-tab.php CHANGED
@@ -72,7 +72,7 @@ if( get_option( 'i4t3_agreement', 2 ) == 2 ) {
72
  <span><strong><a href="https://thefoxe.com/contact/"><?php _e('Contact support', '404-to-301'); ?></a></strong></span>
73
  </div>
74
  <div class="misc-pub-section">
75
- <?php if( get_option( 'i4t3_agreement', 2 ) == 1 ) { ?>
76
  <a class="button-secondary" href="<?php echo I4T3_HELP_PAGE; ?>&i4t3_agreement=0" id="i4t3-hide-admin-notice"><?php _e('Disable UAN', '404-to-301'); ?></a>
77
  <?php } else { ?>
78
  <a class="button-primary" href="<?php echo I4T3_HELP_PAGE; ?>&i4t3_agreement=1" id="i4t3-accept-terms"><?php _e('Enable UAN', '404-to-301'); ?></a>
72
  <span><strong><a href="https://thefoxe.com/contact/"><?php _e('Contact support', '404-to-301'); ?></a></strong></span>
73
  </div>
74
  <div class="misc-pub-section">
75
+ <?php if( get_option( 'i4t3_agreement', 0 ) == 1 ) { ?>
76
  <a class="button-secondary" href="<?php echo I4T3_HELP_PAGE; ?>&i4t3_agreement=0" id="i4t3-hide-admin-notice"><?php _e('Disable UAN', '404-to-301'); ?></a>
77
  <?php } else { ?>
78
  <a class="button-primary" href="<?php echo I4T3_HELP_PAGE; ?>&i4t3_agreement=1" id="i4t3-accept-terms"><?php _e('Enable UAN', '404-to-301'); ?></a>
public/class-404-to-301-public.php CHANGED
@@ -385,7 +385,7 @@ class _404_To_301_Public {
385
  */
386
  private function is_agreed() {
387
 
388
- return ( get_option( 'i4t3_agreement', 1 ) == 0 );
389
  }
390
 
391
  /**
385
  */
386
  private function is_agreed() {
387
 
388
+ return ( get_option( 'i4t3_agreement', 0 ) == 1 );
389
  }
390
 
391
  /**
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: 404, 301, 302, 307, not found, 404 redirect, 404 to 301, 301 redirect, seo
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
5
  Requires at least: 3.5
6
  Tested up to: 4.5.3
7
- Stable tag: 2.2.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -128,6 +128,11 @@ Bug reports for 404 to 301 are always welcome. [Report here](https://thefoxe.com
128
 
129
  == Changelog ==
130
 
 
 
 
 
 
131
  = 2.2.7 (07/07/2016) =
132
  **Bug Fixes**
133
 
@@ -323,13 +328,7 @@ Bug reports for 404 to 301 are always welcome. [Report here](https://thefoxe.com
323
 
324
  == Upgrade Notice ==
325
 
326
- = 2.2.7 (07/07/2016) =
327
  **Bug Fixes**
328
 
329
- - Fixed issue with PHP 5.4 - Empty error log data.
330
-
331
- **Improvements**
332
-
333
- - Improved condition checking.
334
- - Speed improvements.
335
- - Made error log link to new tab.
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
5
  Requires at least: 3.5
6
  Tested up to: 4.5.3
7
+ Stable tag: 2.2.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
128
 
129
  == Changelog ==
130
 
131
+ = 2.2.8 (12/07/2016) =
132
+ **Bug Fixes**
133
+
134
+ - Fixed a minor bug on TOC button.
135
+
136
  = 2.2.7 (07/07/2016) =
137
  **Bug Fixes**
138
 
328
 
329
  == Upgrade Notice ==
330
 
331
+ = 2.2.8 (12/07/2016) =
332
  **Bug Fixes**
333
 
334
+ - Fixed a minor bug on TOC button.