Version Description
- Fixed code to not report multiple times of core upgrades. Plugin now only notifies you once of core upgrade until upgrade is done.
Download this release
Release Info
Developer | l3rady |
Plugin | WP Updates Notifier |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- readme.txt +5 -2
- wp-updates-notifier.php +5 -3
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: l3rady
|
|
3 |
Donate link: http://l3rady.com/donate
|
4 |
Tags: admin, theme, monitor, plugin, notification, upgrade, security
|
5 |
Requires at least: 3.1
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 1.0.
|
8 |
|
9 |
Sends email to notify you if there are any updates for your WordPress site. Can notify about core, plugin and theme updates.
|
10 |
|
@@ -47,6 +47,9 @@ This plugin is a fork of [Update Notifier](http://wordpress.org/extend/plugins/u
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
|
|
|
|
|
|
50 |
= 1.0.3 =
|
51 |
* When plugin was deactivated then reactivated the cron was not rescheduled unless the settings were saved. This has now been fixed.
|
52 |
|
3 |
Donate link: http://l3rady.com/donate
|
4 |
Tags: admin, theme, monitor, plugin, notification, upgrade, security
|
5 |
Requires at least: 3.1
|
6 |
+
Tested up to: 3.2
|
7 |
+
Stable tag: 1.0.4
|
8 |
|
9 |
Sends email to notify you if there are any updates for your WordPress site. Can notify about core, plugin and theme updates.
|
10 |
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 1.0.4 =
|
51 |
+
* Fixed code to not report multiple times of core upgrades. Plugin now only notifies you once of core upgrade until upgrade is done.
|
52 |
+
|
53 |
= 1.0.3 =
|
54 |
* When plugin was deactivated then reactivated the cron was not rescheduled unless the settings were saved. This has now been fixed.
|
55 |
|
wp-updates-notifier.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Updates Notifier
|
|
4 |
Plugin URI: http://l3rady.com/projects/wp-updates-notifier/
|
5 |
Description: Sends email to notify you if there are any updates for your WordPress site. Can notify about core, plugin and theme updates.
|
6 |
Author: Scott Cariss
|
7 |
-
Version: 1.0.
|
8 |
Author URI: http://l3rady.com/
|
9 |
*/
|
10 |
|
@@ -77,7 +77,7 @@ if (!class_exists('sc_WPUpdatesNotifier')) {
|
|
77 |
'notify_themes' => 1,
|
78 |
'hide_updates' => 1,
|
79 |
'notified' => array(
|
80 |
-
'core' =>
|
81 |
'plugin' => array(),
|
82 |
'theme' => array(),
|
83 |
)
|
@@ -208,9 +208,11 @@ if (!class_exists('sc_WPUpdatesNotifier')) {
|
|
208 |
$settings['notified']['core'] = $new_core_ver; // set core version we are notifying about
|
209 |
update_option(self::$options_field, $settings); // update settings
|
210 |
return true; // we have updates so return true
|
|
|
|
|
211 |
}
|
212 |
}
|
213 |
-
$settings['notified']['core'] =
|
214 |
update_option(self::$options_field, $settings); // update settings
|
215 |
return false; // no updates return false
|
216 |
}
|
4 |
Plugin URI: http://l3rady.com/projects/wp-updates-notifier/
|
5 |
Description: Sends email to notify you if there are any updates for your WordPress site. Can notify about core, plugin and theme updates.
|
6 |
Author: Scott Cariss
|
7 |
+
Version: 1.0.4
|
8 |
Author URI: http://l3rady.com/
|
9 |
*/
|
10 |
|
77 |
'notify_themes' => 1,
|
78 |
'hide_updates' => 1,
|
79 |
'notified' => array(
|
80 |
+
'core' => "",
|
81 |
'plugin' => array(),
|
82 |
'theme' => array(),
|
83 |
)
|
208 |
$settings['notified']['core'] = $new_core_ver; // set core version we are notifying about
|
209 |
update_option(self::$options_field, $settings); // update settings
|
210 |
return true; // we have updates so return true
|
211 |
+
} else {
|
212 |
+
return false; // There are updates but we have already notified in the past.
|
213 |
}
|
214 |
}
|
215 |
+
$settings['notified']['core'] = ""; // no updates lets set this nothing
|
216 |
update_option(self::$options_field, $settings); // update settings
|
217 |
return false; // no updates return false
|
218 |
}
|