WordPress.org

Make WordPress Core

Opened 2 days ago

Last modified 2 days 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 (1)

#1 @knutsp
2 days ago

  • Severity changed from normal to minor
  • Summary changed from Site Health: Add all contants used by core to Site Health: Add all constants used by core
Note: See TracTickets for help on using tickets.