WP Broken Link Status Checker - Version 1.0.2

Version Description

May 30th, 2016

  • Solved bug for missing Custom Post Types when saving scan data.
  • Solved bug enabling Custom Post Types under scan crawling.
Download this release

Release Info

Developer seedplugins
Plugin Icon 128x128 WP Broken Link Status Checker
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

Files changed (4) hide show
  1. admin/admin.php +1 -1
  2. core/scans.php +1 -1
  3. readme.txt +11 -2
  4. wp-link-status.php +3 -3
admin/admin.php CHANGED
@@ -242,7 +242,7 @@ class WPLNST_Admin extends WPLNST_Core_Module {
242
 
243
  // Check id and nonce submit
244
  if (isset($_POST['scan_id']) && isset($_POST['scan_edit_nonce']))
245
- add_action('init', array(&$this, 'scans_edit_submit'));
246
  }
247
  }
248
 
242
 
243
  // Check id and nonce submit
244
  if (isset($_POST['scan_id']) && isset($_POST['scan_edit_nonce']))
245
+ add_action('admin_init', array(&$this, 'scans_edit_submit'));
246
  }
247
  }
248
 
core/scans.php CHANGED
@@ -184,7 +184,7 @@ class WPLNST_Core_Scans {
184
  $scan->notify_address_email = WPLNST_Core_Types::get_array_value($config, 'notify_address_email', '');
185
 
186
  // Content options tab
187
- $scan->post_types = WPLNST_Core_Types::check_array_value($config, 'post_types', $post_types_keys, array());
188
  $scan->post_status = WPLNST_Core_Types::check_array_value($config, 'post_status', $post_status_keys, array());
189
  $scan->check_posts = (!empty($scan->post_types) && is_array($scan->post_types) && !empty($scan->post_status) && is_array($scan->post_status));
190
  $scan->comment_types = WPLNST_Core_Types::check_array_value($config, 'comment_types', array_keys(WPLNST_Core_Types::get_comment_types()), array());
184
  $scan->notify_address_email = WPLNST_Core_Types::get_array_value($config, 'notify_address_email', '');
185
 
186
  // Content options tab
187
+ $scan->post_types = (function_exists('did_action') && did_action('init'))? WPLNST_Core_Types::check_array_value($config, 'post_types', $post_types_keys, array()) : ((empty($config['post_types']) || !is_array($config['post_types']))? array() : $config['post_types']);
188
  $scan->post_status = WPLNST_Core_Types::check_array_value($config, 'post_status', $post_status_keys, array());
189
  $scan->check_posts = (!empty($scan->post_types) && is_array($scan->post_types) && !empty($scan->post_status) && is_array($scan->post_status));
190
  $scan->comment_types = WPLNST_Core_Types::check_array_value($config, 'comment_types', array_keys(WPLNST_Core_Types::get_comment_types()), array());
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: seedplugins, pauiglesias
3
  Tags: broken links, broken, links, crawler, headers, http, nofollow, redirections, scan, status, checker, url
4
  Requires at least: 3.4
5
- Tested up to: 4.4.2
6
- Stable tag: 1.0.1
7
  License: GPLv2 or later
8
 
9
  Link checker of all your content links and images, looking for broken links, check link redirections, warn of nofollow links, etc.
@@ -73,6 +73,12 @@ You can add the custom field name in the "Content options" tab of the scan, sele
73
 
74
  == Changelog ==
75
 
 
 
 
 
 
 
76
  = 1.0.1 =
77
  February 25th, 2016
78
 
@@ -86,6 +92,9 @@ Release Date: February 11th, 2016
86
 
87
  == Upgrade Notice ==
88
 
 
 
 
89
  = 1.0.1 =
90
  Solved bug editing config of a running scan.
91
 
2
  Contributors: seedplugins, pauiglesias
3
  Tags: broken links, broken, links, crawler, headers, http, nofollow, redirections, scan, status, checker, url
4
  Requires at least: 3.4
5
+ Tested up to: 4.5.2
6
+ Stable tag: 1.0.2
7
  License: GPLv2 or later
8
 
9
  Link checker of all your content links and images, looking for broken links, check link redirections, warn of nofollow links, etc.
73
 
74
  == Changelog ==
75
 
76
+ = 1.0.2 =
77
+ May 30th, 2016
78
+
79
+ * Solved bug for missing Custom Post Types when saving scan data.
80
+ * Solved bug enabling Custom Post Types under scan crawling.
81
+
82
  = 1.0.1 =
83
  February 25th, 2016
84
 
92
 
93
  == Upgrade Notice ==
94
 
95
+ = 1.0.2 =
96
+ Solved bugs related to Custom Post Types.
97
+
98
  = 1.0.1 =
99
  Solved bug editing config of a running scan.
100
 
wp-link-status.php CHANGED
@@ -3,8 +3,8 @@
3
  Plugin Name: WP Broken Link Status Checker
4
  Plugin URI: http://seedplugins.com/wp-link-status/
5
  Description: Check and manage HTTP response codes of all your content site links and images.
6
- Version: 1.0.1
7
- Author: SeedPlugins
8
  License: GPLv2 or later
9
  Text Domain: wplnst
10
  Domain Path: /languages
@@ -20,7 +20,7 @@ require(dirname(__FILE__).'/core/boot.php');
20
  // This plugin constants
21
  define('WPLNST_FILE', __FILE__);
22
  define('WPLNST_PATH', dirname(WPLNST_FILE));
23
- define('WPLNST_VERSION', '1.0.1');
24
 
25
  // Check scan crawling action
26
  require_once(WPLNST_PATH.'/core/alive.php');
3
  Plugin Name: WP Broken Link Status Checker
4
  Plugin URI: http://seedplugins.com/wp-link-status/
5
  Description: Check and manage HTTP response codes of all your content site links and images.
6
+ Version: 1.0.2
7
+ Author: Pau Iglesias, SeedPlugins
8
  License: GPLv2 or later
9
  Text Domain: wplnst
10
  Domain Path: /languages
20
  // This plugin constants
21
  define('WPLNST_FILE', __FILE__);
22
  define('WPLNST_PATH', dirname(WPLNST_FILE));
23
+ define('WPLNST_VERSION', '1.0.2');
24
 
25
  // Check scan crawling action
26
  require_once(WPLNST_PATH.'/core/alive.php');