Opened 4 years ago
Last modified 4 years ago
#51326 new enhancement
Site Health: Add all constants used by core
Reported by: | knutsp | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | minor | Version: | 5.2 |
Component: | Site Health | Keywords: | |
Focuses: | Cc: |
Description
These constants seems to be missing from Site Health Info WordPress Constants section:
WP_ACCESSIBLE_HOSTS
WP_HTTP_BLOCK_EXTERNAL
WP_AUTO_UPDATE_CORE
AUTOMATIC_UPDATER_DISABLED
WP_ENVIRONMENT_TYPE
WP_ALLOW_REPAIR
WP_POST_REVISIONS
FORCE_SSL_ADMIN
DISALLOW_FILE_EDIT
DISALLOW_FILE_MODS
AUTOSAVE_INTERVAL
WP_DISABLE_FATAL_ERROR_HANDLER
ALTERNATE_WP_CRON
DISABLE_WP_CRON
IMAGE_EDIT_OVERWRITE
There are more, but these a most important.
The should be reported as Undefined, Enabled, Disabled (bool), or echoed as an int/string, just like the others.
Change History (2)
Note: See
TracTickets for help on using
tickets.
There's a lot of constants all over, I'm thinking we need to be selective in what we include, to not overburden our selves on the maintenance side of things.
That doesn't mean I'm against adding more of them, just that they need to be trialed before adding them, to see if there's value in each of the ones being displayed, and what that value is.