404 to 301 - Version 2.1.2

Version Description

(20/12/2015) = Bug Fixes

  • Fixed issues with older version of WordPress.
  • Fixed issues with older version of PHP.
Download this release

Release Info

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

Code changes from version 2.1.1 to 2.1.2

404-to-301.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: 404 to 301
4
  * Plugin URI: http://iscode.co/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.1.1
7
  * Author: Joel James
8
  * Author URI: http://iscode.co/
9
  * Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
@@ -28,7 +28,7 @@
28
  * @package I4T3
29
  * @category Core
30
  * @author Joel James
31
- * @version 2.1.0
32
  */
33
 
34
  // If this file is called directly, abort.
@@ -52,7 +52,7 @@ if(!defined('I4T3_DB_VERSION')) {
52
  define( 'I4T3_DB_VERSION', '3' );
53
  }
54
  if(!defined('I4T3_VERSION')) {
55
- define( 'I4T3_VERSION', '2.1.1' );
56
  }
57
  // Set who all can access 404 settings. You can change this if you want to give others access.
58
  if(!defined('I4T3_ADMIN_PERMISSION')) {
3
  * Plugin Name: 404 to 301
4
  * Plugin URI: http://iscode.co/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.1.2
7
  * Author: Joel James
8
  * Author URI: http://iscode.co/
9
  * Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
28
  * @package I4T3
29
  * @category Core
30
  * @author Joel James
31
+ * @version 2.1.2
32
  */
33
 
34
  // If this file is called directly, abort.
52
  define( 'I4T3_DB_VERSION', '3' );
53
  }
54
  if(!defined('I4T3_VERSION')) {
55
+ define( 'I4T3_VERSION', '2.1.2' );
56
  }
57
  // Set who all can access 404 settings. You can change this if you want to give others access.
58
  if(!defined('I4T3_ADMIN_PERMISSION')) {
admin/class-404-to-301-logs.php CHANGED
@@ -54,11 +54,12 @@ class _404_To_301_Logs extends WP_List_Table_404 {
54
 
55
  self::$table = $table;
56
 
57
- parent::__construct( [
58
- 'singular' => __( '404 Error Log', '404-to-301' ), //singular name of the listed records
59
- 'plural' => __( '404 Error Logs', '404-to-301' ), //plural name of the listed records
60
- 'ajax' => false //does this table support ajax?
61
- ] );
 
62
 
63
  }
64
 
54
 
55
  self::$table = $table;
56
 
57
+ parent::__construct( array(
58
+ 'singular' => __( '404 Error Log', '404-to-301' ), //singular name of the listed records
59
+ 'plural' => __( '404 Error Logs', '404-to-301' ), //plural name of the listed records
60
+ 'ajax' => false //does this table support ajax?
61
+ )
62
+ );
63
 
64
  }
65
 
includes/class-404-to-301.php CHANGED
@@ -67,7 +67,7 @@ class _404_To_301 {
67
  public function __construct() {
68
 
69
  $this->plugin_name = '404-to-301';
70
- $this->version = '2.1.1';
71
  $this->table = $GLOBALS['wpdb']->prefix . '404_to_301';
72
  $this->load_dependencies();
73
  $this->set_locale();
67
  public function __construct() {
68
 
69
  $this->plugin_name = '404-to-301';
70
+ $this->version = '2.1.2';
71
  $this->table = $GLOBALS['wpdb']->prefix . '404_to_301';
72
  $this->load_dependencies();
73
  $this->set_locale();
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.0
6
  Tested up to: 4.4
7
- Stable tag: 2.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -112,7 +112,7 @@ Bug reports for 404 to 301 are always welcome. [Report here](http://iscode.co/bu
112
 
113
  == Changelog ==
114
 
115
- = 2.1.1 (20/12/2015) =
116
  **Bug Fixes**
117
 
118
  - Fixed issues with older version of WordPress.
@@ -235,7 +235,7 @@ Bug reports for 404 to 301 are always welcome. [Report here](http://iscode.co/bu
235
 
236
  == Upgrade Notice ==
237
 
238
- = 2.1.1 (20/12/2015) =
239
  **Bug Fixes**
240
 
241
  - Fixed issues with older version of WordPress.
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XUVWY8HUBUXY4
5
  Requires at least: 3.0
6
  Tested up to: 4.4
7
+ Stable tag: 2.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
112
 
113
  == Changelog ==
114
 
115
+ = 2.1.2 (20/12/2015) =
116
  **Bug Fixes**
117
 
118
  - Fixed issues with older version of WordPress.
235
 
236
  == Upgrade Notice ==
237
 
238
+ = 2.1.2 (20/12/2015) =
239
  **Bug Fixes**
240
 
241
  - Fixed issues with older version of WordPress.