Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a mu-plugin to disable wp-autoupdates by filters #526

Open
3 tasks done
tangrufus opened this issue May 31, 2020 · 1 comment
Open
3 tasks done

Add a mu-plugin to disable wp-autoupdates by filters #526

tangrufus opened this issue May 31, 2020 · 1 comment

Comments

@tangrufus
Copy link
Contributor

Add a mu-plugin to disable wp-autoupdates by filters

See: WordPress/wp-autoupdates#112

@retlehs
Copy link
Sponsor Member

retlehs commented Aug 12, 2020

since we set AUTOMATIC_UPDATER_DISABLED to true, it looks like we don't need to do anything here?

per @joshuafredrickson on roots slack:

// Disable plugins auto-update UI elements.
add_filter('plugins_auto_update_enabled', '__return_false');
// Disable themes auto-update UI elements.
add_filter('themes_auto_update_enabled', '__return_false');

is not necessary on a bedrock install, and

it removes the auto-update ui elements as well

i might be mis-understanding this issue though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants