Automatic Plugin Updates - Version 1.0.1

Version Description

  • Fixed issue with excluded plugin check when using WordPress 3.8.2 or 3.8.3.
Download this release

Release Info

Developer WhiteFirDesign
Plugin Icon wp plugin Automatic Plugin Updates
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0 to 1.0.1

Files changed (2) hide show
  1. automatic-plugin-updates.php +3 -3
  2. readme.txt +3 -1
automatic-plugin-updates.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Automatic Plugin Updates
4
Plugin URI: http://www.whitefirdesign.com/automatic-plugin-updates
5
Description: Enables automatic background updates of plugins. Supports excluding selected plugins from being automatically updated.
6
- Version: 1.0
7
Author: White Fir Design
8
Author URI: http://www.whitefirdesign.com/
9
License: GPLv2
@@ -47,8 +47,8 @@ function check_if_excluded_plugin ($update,$item) {
47
else
48
return true;
49
50
- //WordPress 3.9 includes all plugin data in $item
51
- if (version_compare(get_bloginfo('version'),'3.9','>='))
52
$plugin_to_check = $item->plugin;
53
else
54
$plugin_to_check = $item;
3
Plugin Name: Automatic Plugin Updates
4
Plugin URI: http://www.whitefirdesign.com/automatic-plugin-updates
5
Description: Enables automatic background updates of plugins. Supports excluding selected plugins from being automatically updated.
6
+ Version: 1.0.1
7
Author: White Fir Design
8
Author URI: http://www.whitefirdesign.com/
9
License: GPLv2
47
else
48
return true;
49
50
+ //Starting with WordPress 3.8.2 all plugin data is included in $item
51
+ if (version_compare(get_bloginfo('version'),'3.8.2','>='))
52
$plugin_to_check = $item->plugin;
53
else
54
$plugin_to_check = $item;
readme.txt CHANGED
@@ -10,7 +10,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
Enables automatic background updates of plugins. Supports excluding selected plugins from being automatically updated.
11
12
== Description ==
13
- This plugin turns on automatic background updates for plugins.
14
15
If you have plugins that you don't want automatically updated those can be excluded from being automatically updated on the settings page for this plugin. The plugin also enables email alerts being sent for automatic plugin updates.
16
@@ -25,6 +25,8 @@ If you have plugins that you don't want automatically updated those can be exclu
25
1. Settings Page
26
27
== Changelog ==
28
29
= 1.0 =
30
* Initial release
10
Enables automatic background updates of plugins. Supports excluding selected plugins from being automatically updated.
11
12
== Description ==
13
+ This plugin turns on <a href="http://codex.wordpress.org/Configuring_Automatic_Background_Updates">automatic background updates</a> for plugins.
14
15
If you have plugins that you don't want automatically updated those can be excluded from being automatically updated on the settings page for this plugin. The plugin also enables email alerts being sent for automatic plugin updates.
16
25
1. Settings Page
26
27
== Changelog ==
28
+ = 1.0.1 =
29
+ * Fixed issue with excluded plugin check when using WordPress 3.8.2 or 3.8.3.
30
31
= 1.0 =
32
* Initial release