Update Control - Version 1.3.2

Version Description

  • Bugfix. Correct handling of VCS check filter.
Download this release

Release Info

Developer chipbennett
Plugin Icon wp plugin Update Control
Version 1.3.2
Comparing to
See all releases

Code changes from version 1.3.1 to 1.3.2

Files changed (2) hide show
  1. readme.txt +6 -3
  2. update-control.php +4 -4
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: georgestephanis, chipbennett
3
  Tags: automatic updates, updates
4
  Requires at least: 3.7
5
  Tested up to: 3.8.1
6
- Stable tag: 1.3.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -64,9 +64,9 @@ Plugin/Theme/Translation Updates:
64
 
65
  = What are advanced settings? =
66
 
67
- Disable VCS Check
68
 
69
- * By default, WordPress will check for the existence of VCS (version control system) files, and if any are found, will not perform automatic updates. Selecting "Disable VCS Check?" will force WordPress to bypass this check, and perform updates regardless of the existence of VCS files.
70
 
71
  Update Result Emails
72
 
@@ -85,6 +85,9 @@ Also, core now has two separate types of updates: manual updates and automatic u
85
 
86
  == Changelog ==
87
 
 
 
 
88
  = 1.3.1 =
89
  * Bugfix. Correct filter name.
90
 
3
  Tags: automatic updates, updates
4
  Requires at least: 3.7
5
  Tested up to: 3.8.1
6
+ Stable tag: 1.3.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
64
 
65
  = What are advanced settings? =
66
 
67
+ Enable updates for VCS installations
68
 
69
+ * By default, WordPress will check for the existence of VCS (version control system) files, and if any are found, will not perform automatic updates. Selecting "Enable updates for VCS installations?" will force WordPress to bypass this check, and perform updates regardless of the existence of VCS files.
70
 
71
  Update Result Emails
72
 
85
 
86
  == Changelog ==
87
 
88
+ = 1.3.2 =
89
+ * Bugfix. Correct handling of VCS check filter.
90
+
91
  = 1.3.1 =
92
  * Bugfix. Correct filter name.
93
 
update-control.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://github.com/georgestephanis/update-control/
5
  * Description: Adds a manual toggle to the WordPress Admin Interface for managing auto-updates.
6
  * Author: George Stephanis, Chip Bennett
7
- * Version: 1.3.1
8
  * Author URI: http://stephanis.info/
9
  */
10
 
@@ -53,7 +53,7 @@ class Stephanis_Update_Control {
53
  }
54
 
55
  if ( $options['vcscheck'] ) {
56
- add_filter( 'automatic_updates_is_vcs_checkout', '__return_true', 1 );
57
  }
58
 
59
  if ( 'no' == $options['emailactive'] || ! ( $options['successemail'] || $options['failureemail'] || $options['criticalemail'] ) ) {
@@ -93,7 +93,7 @@ class Stephanis_Update_Control {
93
  'theme' => false,
94
  'translation' => true,
95
  'toggleadvanced' => 'hide',
96
- 'vcscheck' => true,
97
  'emailactive' => 'yes',
98
  'successemail' => true,
99
  'failureemail' => true,
@@ -174,7 +174,7 @@ class Stephanis_Update_Control {
174
 
175
  add_settings_field(
176
  'update_control_vcscheck',
177
- sprintf( '<label for="update_control_vcscheck">%1$s</label>', __( 'Disable VCS Check?', 'update-control' ) ),
178
  array( __CLASS__, 'update_control_vcscheck_cb' ),
179
  'general',
180
  'update-control'
4
  * Plugin URI: http://github.com/georgestephanis/update-control/
5
  * Description: Adds a manual toggle to the WordPress Admin Interface for managing auto-updates.
6
  * Author: George Stephanis, Chip Bennett
7
+ * Version: 1.3.2
8
  * Author URI: http://stephanis.info/
9
  */
10
 
53
  }
54
 
55
  if ( $options['vcscheck'] ) {
56
+ add_filter( 'automatic_updates_is_vcs_checkout', '__return_false', 1 );
57
  }
58
 
59
  if ( 'no' == $options['emailactive'] || ! ( $options['successemail'] || $options['failureemail'] || $options['criticalemail'] ) ) {
93
  'theme' => false,
94
  'translation' => true,
95
  'toggleadvanced' => 'hide',
96
+ 'vcscheck' => false,
97
  'emailactive' => 'yes',
98
  'successemail' => true,
99
  'failureemail' => true,
174
 
175
  add_settings_field(
176
  'update_control_vcscheck',
177
+ sprintf( '<label for="update_control_vcscheck">%1$s</label>', __( 'Enable updates for VCS installations?', 'update-control' ) ),
178
  array( __CLASS__, 'update_control_vcscheck_cb' ),
179
  'general',
180
  'update-control'