Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#46738 closed enhancement (fixed)

Site Health: Simplify the checks for constants in debug information

Reported by: xkon Owned by: SergeyBiryukov
Priority: normal Milestone: 5.2
Component: Site Health Version: 5.2
Severity: normal Keywords: site-health has-patch commit
Cc: Focuses:

Description

Following the changes in #46692 there are constants that are defined by default. There's no need to check again if they are not defined so we can simplify things a bit in debug info for wp-constants.

We should also change the informational title of this section from These settings are defined in your wp-config.php file, and alter where and how parts of WordPress are loaded. as not all of them are actually defined in wp-config.php.

Attachments (1)

46738.diff​ (2.8 KB ) - added by xkon 8 years ago.

Download all attachments as: .zip

Change History (5)

@xkon
8 years ago

#1 @xkon
8 years ago

  • Keywords has-patch added

46738.diff​ changes the title into "These settings alter where and how parts of WordPress are loaded." and simplifies the checks/output of constants.

#2 @SergeyBiryukov
8 years ago

  • Keywords commit added

Looks good to me.

#3 @SergeyBiryukov
8 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 45078:

Site Health: Simplify the checks for constants that are always defined by default.

Props xkon.
Fixes #46738.

#4 @spacedmonkey
7 years ago

  • Component Administration → Site Health
Note: See TracTickets for help on using tickets.