I can confirm this is happening. Is it supposed to do this?
I can confirm this. Maybe the code of the checkboxes lacks the attribute-value-pair value="1"
?
For me, the opposite is the case: I try to disable auto updating, but after saving changes it is always (re)enabled. Looking at wp-config makes it clear that nothing has changed. In this state, the plugin is useless 🙁
These should be addressed in version 1.1.
Looking at wp-config makes it clear that nothing has changed.
Note: the Plugin doesn’t write anything to wp-config.php
(that’s not something that’s wise for a Plugin to do, even if possible). Instead, it uses the available update filters to control enabling/disabling of updates.
Thread Starter
leemon
(@leemon)
I’ve installed the 1.1 version of the plugin and when I select “Yes” in the “Automatic Updates Enabled?” dropdown and save changes, WordPress returns the following error:
Notice: Undefined variable: option in /usr/home/domain.com/web/wp-content/plugins/update-control/update-control.php on line 31
Thread Starter
leemon
(@leemon)
A letter ‘s’ is missing in the code:
add_filter( 'allow_' . $option['core'] . '_auto_core_updates', '__return_true', 1 );
it should be:
add_filter( 'allow_' . $options['core'] . '_auto_core_updates', '__return_true', 1 );
Thanks for that. I just pushed version 1.1.1 to fix the $option
/$options
typo.