Version Description
Download this release
Release Info
Developer | whiteshadow |
Plugin | Broken Link Checker |
Version | 1.5.4 |
Comparing to | |
See all releases |
Code changes from version 1.5.3 to 1.5.4
- broken-link-checker.php +1 -1
- core/core.php +13 -0
- includes/activation.php +0 -11
- readme.txt +1 -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.4
|
7 |
Author: Janis Elsts
|
8 |
Author URI: http://w-shadow.com/blog/
|
9 |
Text Domain: broken-link-checker
|
core/core.php
CHANGED
@@ -384,6 +384,18 @@ class wsBrokenLinkChecker {
|
|
384 |
);
|
385 |
echo '<br>', __('Try deactivating and then reactivating the plugin.', 'broken-link-checker');
|
386 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
387 |
|
388 |
if (isset($_POST['recheck']) && !empty($_POST['recheck']) ){
|
389 |
$this->initiate_recheck();
|
@@ -529,6 +541,7 @@ class wsBrokenLinkChecker {
|
|
529 |
if ( !empty($_GET['donated']) ){
|
530 |
echo '<div id="message" class="updated fade"><p><strong>',__('Thank you for your donation!', 'broken-link-checker'), '</strong></p></div>';
|
531 |
$this->conf->set('user_has_donated', true);
|
|
|
532 |
}
|
533 |
|
534 |
//Show one when recheck is started, too.
|
384 |
);
|
385 |
echo '<br>', __('Try deactivating and then reactivating the plugin.', 'broken-link-checker');
|
386 |
}
|
387 |
+
|
388 |
+
//Prior to 1.5.2 (released 2012-05-27), there was a bug that would cause the donation flag to be
|
389 |
+
//set incorrectly. So we'll unset the flag in that case.
|
390 |
+
$reset_donation_flag =
|
391 |
+
($this->conf->get('first_installation_timestamp', 0) < strtotime('2012-05-27 00:00')) &&
|
392 |
+
!$this->conf->get('donation_flag_fixed', false);
|
393 |
+
|
394 |
+
if ( $reset_donation_flag) {
|
395 |
+
$this->conf->set('user_has_donated', false);
|
396 |
+
$this->conf->set('donation_flag_fixed', true);
|
397 |
+
$this->conf->save_options();
|
398 |
+
}
|
399 |
|
400 |
if (isset($_POST['recheck']) && !empty($_POST['recheck']) ){
|
401 |
$this->initiate_recheck();
|
541 |
if ( !empty($_GET['donated']) ){
|
542 |
echo '<div id="message" class="updated fade"><p><strong>',__('Thank you for your donation!', 'broken-link-checker'), '</strong></p></div>';
|
543 |
$this->conf->set('user_has_donated', true);
|
544 |
+
$this->conf->save_options();
|
545 |
}
|
546 |
|
547 |
//Show one when recheck is started, too.
|
includes/activation.php
CHANGED
@@ -45,17 +45,6 @@ if ( empty($blc_config_manager->options['custom_fields']) ){
|
|
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';
|
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';
|
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 |
|
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.4
|
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 |
|