[wp-trac] [WordPress Trac] #54631: Auto updates should be able to be switched off

WordPress Trac noreply at wordpress.org
Wed Dec 15 12:45:37 UTC 2021


#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:
-----------------------------+------------------------------
Changes (by SergeyBiryukov):

 * component:  General => Upgrade/Install


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the ticket.

 In my testing, setting the `WP_AUTO_UPDATE_CORE` constant does affect the
 WordPress Updates screen. For example, if I set it to `false`, this
 message is displayed:
 > `This site will not receive automatic updates for new versions of
 WordPress.`

 Note that by design, the constant only controls
 [https://wordpress.org/support/article/configuring-automatic-background-
 updates/ automatic background updates], it does not affect manual updates.
 For the latter, you may want to look into other options, e.g. overriding
 the `update_core` user capability or the transient of the same name using
 the `pre_site_transient_update_core` filter, as suggested in
 [https://jasonjalbuena.com/disable-wordpress-update-notifications/ some
 articles].

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54631#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list