I am sure there will be a filter to be able to disable the feature, since automatic plugin updates unless you know the plugin being updated and not checking still has a chance to cause site issues.
3 Likes
Automatic theme updating is also going to happen.
https://core.trac.wordpress.org/ticket/49199
netzlodern
(Sebastian Wendler)
February 27, 2020, 8:40am
3
I’m using a plugin to disable all automatic udpates on every single WordPress I maintain: Easy Updates Manager – WordPress-Plugin | WordPress.org Deutsch
1 Like
Easy Updates Manager plugin is bit of a mess.
The featured plugin is on the WP repo now.
netzlodern
(Sebastian Wendler)
February 27, 2020, 8:04pm
6
Yeah? Why do you think so? It worked for me so far?!
Because I have seen that plugin mask plugin updates where client sites that had 30-40 plugin updates that were needed.
There should be a constant that can be defined in the sites wp-config.php
file to disable the automatic plugin updates.
define( 'WP_DISABLE_PLUGINS_AUTO_UPDATE', true );
The constant that should be able to be used to disable automatic theme updates by setting this in the sites wp-config.php
file.
define( 'WP_DISABLE_THEMES_AUTO_UPDATE', true );
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
Looks like there is a merge announcement for the feature plugin into WordPress core.
The existing constants have been dropped but hopefully there will be additional filters to disable the UI for plugin and theme updates.
WordPress:master
← WordPress:fix/remove-feature-constants
opened 04:52PM - 06 May 20 UTC
Let's remove the previously introduced constants.
> After few discussions, it… was also decided to remove the feature’s constants. Indeed, constants are used in WordPress core for specific cases:
>
> - Very early use, before WP is loaded
> - For use mostly by hosting companies/low level settings
> - Mostly for things that are really “constant” (never change)
For reference, [see the following meeting recap](https://make.wordpress.org/core/2020/05/06/auto-updates-feature-meeting-summary-may-4-2020/).
Fixes #110
The filter naming might change.
opened 10:17PM - 30 Apr 20 UTC
question
Needs Decision
Seems this has been discussed at different times/places but maybe a good idea to… gather it in one place.
What are the expected uses of the combination of: `WP_DISABLE_PLUGINS_AUTO_UPDATE` constant, and `wp_plugins_auto_update_enabled` filter, and the theme's equivalent `WP_DISABLE_THEMES_AUTO_UPDATE` and `wp_themes_auto_update_enabled`.
Also, as far as I see the `auto_update_plugin` [(old/existing) filter](https://wordpress.org/support/article/configuring-automatic-background-updates/#plugin-theme-updates-via-filter) overrides both `WP_DISABLE_PLUGINS_AUTO_UPDATE` and `wp_plugins_auto_update_enabled` making the UI "wrong". Same for `auto_update_theme`.
add_filter( 'wp_plugins_auto_update_enabled', '__return_false' )
To disable the plugins updates UI.
add_filter( 'wp_themes_auto_update_enabled', '__return_false' )
To disable the themes updates UI.