diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index d5ff1cb755..f227c9fdd2 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/wp-admin/includes/class-wp-debug-data.php @@ -30,7 +30,6 @@ class WP_Debug_Data { * @since 6.7.0 Modularized into separate theme-oriented methods. * * @throws ImagickException - * @global array $_wp_theme_features * * @return array The debug data for the site. */ @@ -39,14 +38,10 @@ class WP_Debug_Data { * Set up the array that holds all debug information. * * When iterating through the debug data, the ordering of the sections - * occurs in insertion-order of the assignments into this array. Setting - * up empty values here preserves that specific ordering, so it doesn't - * depend on when inside this method each section is otherwise assigned. + * occurs in insertion-order of the assignments into this array. * - * When all sections have been modularized, this will be the final single - * assignment of the sections before filtering and none will be empty. - * - * @ticket 61648 + * This is the single assignment of the sections before filtering. Null-entries will + * be automatically be removed. */ $info = array( 'wp-core' => self::get_wp_core(), @@ -726,7 +721,6 @@ class WP_Debug_Data { ); } - /** * Gets the WordPress MU plugins section of the debug data. * @@ -1014,6 +1008,8 @@ class WP_Debug_Data { * * @since 6.7.0 * + * @global array $_wp_theme_features + * * @return array */ private static function get_wp_active_theme(): array { diff --git a/wp-includes/version.php b/wp-includes/version.php index fc18eddb2f..ad81edc0ad 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59289'; +$wp_version = '6.8-alpha-59290'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.