Broken Link Checker - Version 1.11.2

Version Description

  • Fixed a compatibility issue
Download this release

Release Info

Developer freediver
Plugin Icon 128x128 Broken Link Checker
Version 1.11.2
Comparing to
See all releases

Code changes from version 1.11.1 to 1.11.2

broken-link-checker.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Broken Link Checker
4
  Plugin URI: http://w-shadow.com/blog/2007/08/05/broken-link-checker-for-wordpress/
5
  Description: Checks your blog for broken links and missing images and notifies you on the dashboard if any are found.
6
- Version: 1.11.1
7
  Author: Janis Elsts, Vladimir Prelovac
8
  Author URI: http://w-shadow.com/
9
  Text Domain: broken-link-checker
3
  Plugin Name: Broken Link Checker
4
  Plugin URI: http://w-shadow.com/blog/2007/08/05/broken-link-checker-for-wordpress/
5
  Description: Checks your blog for broken links and missing images and notifies you on the dashboard if any are found.
6
+ Version: 1.11.2
7
  Author: Janis Elsts, Vladimir Prelovac
8
  Author URI: http://w-shadow.com/
9
  Text Domain: broken-link-checker
core/core.php CHANGED
@@ -38,7 +38,7 @@ class wsBrokenLinkChecker {
38
  * @param blcConfigurationManager $conf An instance of the configuration manager
39
  * @return void
40
  */
41
- function __construct ( $loader, $conf ) {
42
  $this->db_version = BLC_DATABASE_VERSION;
43
 
44
  $this->conf = $conf;
38
  * @param blcConfigurationManager $conf An instance of the configuration manager
39
  * @return void
40
  */
41
+ function __construct ( $loader, $conf ) {
42
  $this->db_version = BLC_DATABASE_VERSION;
43
 
44
  $this->conf = $conf;
includes/config-manager.php CHANGED
@@ -19,7 +19,7 @@ class blcConfigurationManager {
19
  * @var bool Whether options have been successfully loaded from the database.
20
  */
21
  public $db_option_loaded = false;
22
-
23
  function __construct( $option_name = '', $default_settings = null ){
24
  $this->option_name = $option_name;
25
 
@@ -124,4 +124,4 @@ class blcConfigurationManager {
124
  }
125
  }
126
 
127
- }
19
  * @var bool Whether options have been successfully loaded from the database.
20
  */
21
  public $db_option_loaded = false;
22
+
23
  function __construct( $option_name = '', $default_settings = null ){
24
  $this->option_name = $option_name;
25
 
124
  }
125
  }
126
 
127
+ }
includes/transactions-manager.php CHANGED
@@ -3,7 +3,7 @@
3
  class TransactionManager
4
  {
5
  private $isTransactionStarted = false;
6
- static private $instance;
7
 
8
  public function start()
9
  {
@@ -32,10 +32,10 @@ class TransactionManager
32
 
33
  static public function getInstance()
34
  {
35
- if (empty(static::$instance)) {
36
- static::$instance = new static();
37
  }
38
 
39
- return static::$instance;
40
  }
41
- }
3
  class TransactionManager
4
  {
5
  private $isTransactionStarted = false;
6
+ private static $instance;
7
 
8
  public function start()
9
  {
32
 
33
  static public function getInstance()
34
  {
35
+ if (!self::$instance) {
36
+ self::$instance = new TransactionManager();
37
  }
38
 
39
+ return self::$instance;
40
  }
41
+ }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: freediver
3
  Donate link:
4
  Tags: links, broken, maintenance, blogroll, custom fields, admin, comments, posts
5
  Requires at least: 3.2
6
- Tested up to: 4.4.1
7
- Stable tag: 1.11.1
8
 
9
  This plugin will check your posts, comments and other content for broken links and missing images, and notify you if any are found.
10
 
@@ -101,6 +101,9 @@ To upgrade your installation
101
 
102
  == Changelog ==
103
 
 
 
 
104
  = 1.11.1 =
105
  * Major performance improvement. Database queries reduced up to 10x in some cases.
106
  * Feel free to contribute to the plugin on [GitHub](https://github.com/ManageWP/broken-link-checker). Pull requests welcome!
3
  Donate link:
4
  Tags: links, broken, maintenance, blogroll, custom fields, admin, comments, posts
5
  Requires at least: 3.2
6
+ Tested up to: 4.4.2
7
+ Stable tag: 1.11.2
8
 
9
  This plugin will check your posts, comments and other content for broken links and missing images, and notify you if any are found.
10
 
101
 
102
  == Changelog ==
103
 
104
+ = 1.11.2 =
105
+ * Fixed a compatibility issue
106
+
107
  = 1.11.1 =
108
  * Major performance improvement. Database queries reduced up to 10x in some cases.
109
  * Feel free to contribute to the plugin on [GitHub](https://github.com/ManageWP/broken-link-checker). Pull requests welcome!