Make WordPress Core

Opened 17 months ago

Last modified 17 months ago

#51041 new defect (bug)

Incorrect message about the status of WP_AUTO_UPDATE_CORE

Reported by: johnbillion Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5
Component: Site Health Keywords: has-patch
Focuses: Cc:


When the following code is in place in wp-config.php, the phrasing used on the Site Health screen is confusing.

define('WP_AUTO_UPDATE_CORE', false);

The Site Health message says The WP_AUTO_UPDATE_CORE constant is defined and enabled when in fact the constant is defined and disabled.

Attachments (1)

51041.diff (586 bytes) - added by chrisbudd1 17 months ago.

Download all attachments as: .zip

Change History (5)

#1 @johnbillion
17 months ago

This message might actually be redundant due to the subsequent message in the same section that says:

WordPress security and maintenance releases are blocked by define( 'WP_AUTO_UPDATE_CORE', false );.

#2 @mukesh27
17 months ago

Hi there!

It should be disabled instead of enabled

17 months ago

#3 @chrisbudd1
17 months ago

Created a patch to change the wording to the suggested "disabled", although it feels like "in use" might be better when paired with the later messaging:

WordPress security and maintenance releases are blocked by define( 'WP_AUTO_UPDATE_CORE', false );.

Also, neither "disabled" or "enabled" are completely accurate anyway as that message will show if you define the constant as anything unexpected (so anything that isn't true or "minor").

#4 @mukesh27
17 months ago

  • Keywords has-patch added; needs-patch removed

@chrisbudd1 Thanks for the patch and suggestions.

Note: See TracTickets for help on using tickets.