[wp-trac] [WordPress Trac] #54631: Auto updates should be able to be switched off
WordPress Trac
noreply at wordpress.org
Mon Jan 3 15:16:36 UTC 2022
#54631: Auto updates should be able to be switched off
-----------------------------+------------------------------
Reporter: sunflower99 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by chesio):
Hi @sunflower99,
I think what you are looking for is the `DISALLOW_FILE_MODS` constant.
When it is set (in `wp-config.php` for example) then editing, updating,
installing and deleting of plugins, themes and core files via WordPress
Backend is disabled:
{{{#!php
<?php
define('DISALLOW_FILE_MODS', true);
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54631#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list