Disable VCS Check does not work
-
While enabling the ‘Disable VCS Check’ in your plugin, the filter returns true. However, to disable this check, it should return false (see article of Andrew Nacin).
I hereby submit a simple patch to resolve this problem.
Index: htdocs/wp-content/plugins/update-control/update-control.php =================================================================== --- htdocs/wp-content/plugins/update-control/update-control.php (revision 851123) +++ htdocs/wp-content/plugins/update-control/update-control.php (working copy) @@ -53,7 +53,7 @@ } if ( $options['vcscheck'] ) { - add_filter( 'automatic_updates_is_vcs_checkout', '__return_true', 1 ); + add_filter( 'automatic_updates_is_vcs_checkout', '__return_false', 1 ); } if ( 'no' == $options['emailactive'] || ! ( $options['successemail'] || $options['failureemail'] || $options['criticalemail'] ) ) {
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Disable VCS Check does not work’ is closed to new replies.