Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#46808 closed defect (bug) (fixed)

Site Health: remove unused `$wp_config_path`

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

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 7 years ago.
remove unused $wp_config_path

Download all attachments as: .zip

Change History (4)

@m_uysl
7 years ago

remove unused $wp_config_path

#1 @m_uysl
7 years ago

  • Keywords has-patch site-heath added

#2 @swissspidy
7 years ago

  • Owner set to swissspidy
  • Resolutionfixed
  • Status newclosed

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
7 years ago

  • Milestone Awaiting Review5.2
Note: See TracTickets for help on using tickets.