Opened 4 years ago
Closed 3 weeks ago
#50613 closed feature request (worksforme)
disable update for themes e plugin
Reported by: | camaran | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.5 |
Component: | Security | Keywords: | |
Focuses: | Cc: |
Description
Hi, it's possibile to disable the auto update for plugin and themes from wp-config.php for this https://make.wordpress.org/core/tag/core-auto-updates/
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi there, thanks for the ticket!
The new functionality can be disabled via
plugins_auto_update_enabled
orthemes_auto_update_enabled
filters inwp_is_auto_update_enabled_for_type()
.There are
DISALLOW_FILE_MODS
andAUTOMATIC_UPDATER_DISABLED
constants that can be set inwp-config.php
, see Editing wp-config.php for details.Related tickets: #48850, #49199, #50052.