diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index be7dc0fe88..5c3034ce39 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/wp-admin/includes/class-wp-debug-data.php @@ -29,13 +29,13 @@ class WP_Debug_Data { * @since 5.5.0 Added pretty permalinks support information. * * @throws ImagickException - * @global wpdb $wpdb WordPress database abstraction object. - * @global $_wp_theme_features + * @global wpdb $wpdb WordPress database abstraction object. + * @global array $_wp_theme_features * * @return array The debug data for the site. */ public static function debug_data() { - global $wpdb; + global $wpdb, $_wp_theme_features; // Save few function calls. $upload_dir = wp_upload_dir(); @@ -1065,7 +1065,6 @@ class WP_Debug_Data { } // Populate the section for the currently active theme. - global $_wp_theme_features; $theme_features = array(); if ( ! empty( $_wp_theme_features ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 04af729d98..670c388b90 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54953'; +$wp_version = '6.2-alpha-54954'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.