Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#46808 closed defect (bug) (fixed)

Site Health: remove unused `$wp_config_path`

Reported by: m_uysl's profile m_uysl Owned by: swissspidy's profile swissspidy
Milestone: 5.2 Priority: normal
Severity: normal Version: 5.2
Component: Administration Keywords: has-patch site-heath
Focuses: Cc:

Description

$wp_config_path is not used in WP_Debug_Data::debug_data at all. If the WordPress installation is broken, users can't display the results at all. (at least from the web interface)

So, I'm suggesting to remove that.

Attachments (1)

46808.patch (1010 bytes) - added by m_uysl 6 years ago.
remove unused $wp_config_path

Download all attachments as: .zip

Change History (4)

@m_uysl
6 years ago

remove unused $wp_config_path

#1 @m_uysl
6 years ago

  • Keywords has-patch site-heath added

#2 @swissspidy
6 years ago

  • Owner set to swissspidy
  • Resolution set to fixed
  • Status changed from new to closed

In 45113:

Site Health: Remove unused $wp_config_path variable.

Discovered and fixed during WordCamp London 2019 contributor day.

Props m_uysl.
Fixes #46808.

#3 @desrosj
6 years ago

  • Milestone changed from Awaiting Review to 5.2
Note: See TracTickets for help on using tickets.