Make WordPress Core

Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#46808 closed defect (bug) (fixed)

Site Health: remove unused `$wp_config_path`

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


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

Download all attachments as: .zip

Change History (4)

11 months ago

remove unused $wp_config_path

#1 @m_uysl
11 months ago

  • Keywords has-patch site-heath added

#2 @swissspidy
11 months 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
11 months ago

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