You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 30, 2020. It is now read-only.
it seems that there was a functionality change in wp 4.8.0.
I believe that it is possible to enable automatic minor updates to core while disallowing all other file modifications. This could have been possible before.
If we implement this, we should make sure that, if possible, it works for < 4.8.0 as well.
The code could be something like
add_filter('file_mod_allowed', function ($allow, $context) {
if (in_array('context', ['automatic_updater', 'download_language_pack', 'can_install_language_pack']) {
returntrue; // or return !FLYNT_DISALLOW_AUTO_UPDATE; or something
} else {
return$allow;
}
}, 10, 2);
By default the auto core updater only updates minor versions. So no change is needed regarding that.
it seems that there was a functionality change in wp 4.8.0.
I believe that it is possible to enable automatic minor updates to core while disallowing all other file modifications. This could have been possible before.
If we implement this, we should make sure that, if possible, it works for < 4.8.0 as well.
The code could be something like
By default the auto core updater only updates minor versions. So no change is needed regarding that.