Version Description
- Fixed a bug that would cause the donation flag to be recorded incorrectly. Apologies to everyone who donated.
Download this release
Release Info
Developer | whiteshadow |
Plugin | Broken Link Checker |
Version | 1.5.3 |
Comparing to | |
See all releases |
Code changes from version 1.5.2 to 1.5.3
- broken-link-checker.php +1 -1
- core/init.php +1 -0
- includes/activation.php +11 -0
- readme.txt +4 -1
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.5.
|
7 |
Author: Janis Elsts
|
8 |
Author URI: http://w-shadow.com/blog/
|
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.5.3
|
7 |
Author: Janis Elsts
|
8 |
Author URI: http://w-shadow.com/blog/
|
9 |
Text Domain: broken-link-checker
|
core/init.php
CHANGED
@@ -109,6 +109,7 @@ $blc_config_manager = new blcConfigurationManager(
|
|
109 |
|
110 |
'installation_complete' => false,
|
111 |
'user_has_donated' => false, //Whether the user has donated to the plugin.
|
|
|
112 |
)
|
113 |
);
|
114 |
|
109 |
|
110 |
'installation_complete' => false,
|
111 |
'user_has_donated' => false, //Whether the user has donated to the plugin.
|
112 |
+
'donation_flag_fixed' => false,
|
113 |
)
|
114 |
);
|
115 |
|
includes/activation.php
CHANGED
@@ -45,6 +45,17 @@ if ( empty($blc_config_manager->options['custom_fields']) ){
|
|
45 |
$moduleManager->deactivate('custom_field');
|
46 |
}
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
//Prepare the database.
|
49 |
$blclog->info('Upgrading the database...');
|
50 |
require_once BLC_DIRECTORY . '/includes/admin/db-upgrade.php';
|
45 |
$moduleManager->deactivate('custom_field');
|
46 |
}
|
47 |
|
48 |
+
//Prior to 1.5.2 (released 2012-05-27), there was a bug that would cause the donation flag to be
|
49 |
+
//set incorrectly. So we'll unset the flag in that case.
|
50 |
+
$reset_donation_flag =
|
51 |
+
($blc_config_manager->options['first_installation_timestamp'] < strtotime('2012-05-27 00:00')) &&
|
52 |
+
!$blc_config_manager->get('donation_flag_fixed', false);
|
53 |
+
|
54 |
+
if ( $reset_donation_flag) {
|
55 |
+
$blc_config_manager->set('user_has_donated', false);
|
56 |
+
$blc_config_manager->set('donation_flag_fixed', true);
|
57 |
+
}
|
58 |
+
|
59 |
//Prepare the database.
|
60 |
$blclog->info('Upgrading the database...');
|
61 |
require_once BLC_DIRECTORY . '/includes/admin/db-upgrade.php';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: links, broken, maintenance, blogroll, custom fields, admin, comments, posts
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 3.4-beta4
|
7 |
-
Stable tag: 1.5.
|
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 |
|
@@ -90,6 +90,9 @@ To upgrade your installation
|
|
90 |
|
91 |
== Changelog ==
|
92 |
|
|
|
|
|
|
|
93 |
= 1.5.2 =
|
94 |
* A few minor comment fixes.
|
95 |
* Move certain styles to a separate CSS file, which is where they belong.
|
4 |
Tags: links, broken, maintenance, blogroll, custom fields, admin, comments, posts
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 3.4-beta4
|
7 |
+
Stable tag: 1.5.3
|
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 |
|
90 |
|
91 |
== Changelog ==
|
92 |
|
93 |
+
= 1.5.3 =
|
94 |
+
* Fixed a bug that would cause the donation flag to be recorded incorrectly. Apologies to everyone who donated.
|
95 |
+
|
96 |
= 1.5.2 =
|
97 |
* A few minor comment fixes.
|
98 |
* Move certain styles to a separate CSS file, which is where they belong.
|