[wp-trac] [WordPress Trac] #51698: Consider to provide a hook to allow developers to hide the auto-updates UI for Core major versions
WordPress Trac
noreply at wordpress.org
Fri Nov 6 22:45:58 UTC 2020
#51698: Consider to provide a hook to allow developers to hide the auto-updates UI
for Core major versions
-----------------------------+-----------------------
Reporter: audrasjb | Owner: audrasjb
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.6
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
-----------------------------+-----------------------
Comment (by SergeyBiryukov):
Replying to [comment:7 jeherve]:
> We currently have 2 main ways to set a site's address: you can either
use the UI under Settings > General, or you can use the `WP_HOME` and
`WP_SITEURL` constants. When you use the constants, the UI remains
visible, but is grayed out to show that those settings cannot be modified
from within the UI anymore.
>
> I think we could follow a similar approach for this UI: always visible,
but disabled when one programatically controls the behaviour of the core
updates (with the `WP_AUTO_UPDATE_CORE` constant, for example).
>
> As an added bonus, we could show an explanation label when the UI is
disabled, to let site admins know why.
Just noting that would make the most sense for me too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51698#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list