diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index 5f96ffa41c..850ae9a860 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/wp-admin/includes/class-wp-debug-data.php @@ -38,15 +38,7 @@ class WP_Debug_Data { $switched_locale = switch_to_locale( $locale ); } - $upload_dir = wp_get_upload_dir(); - - if ( file_exists( ABSPATH . 'wp-config.php' ) ) { - $wp_config_path = ABSPATH . 'wp-config.php'; - // phpcs:ignore Generic.PHP.NoSilencedErrors.Discouraged - } elseif ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) { - $wp_config_path = dirname( ABSPATH ) . '/wp-config.php'; - } - + $upload_dir = wp_get_upload_dir(); $core_current_version = get_bloginfo( 'version' ); $core_updates = get_core_updates(); $core_update_needed = ''; diff --git a/wp-includes/version.php b/wp-includes/version.php index 76e1c5c158..95e6b9fba4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta1-45112'; +$wp_version = '5.2-beta1-45113'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.