Site Health: Update inline docs following refactor of debug data.

Updates the inline docs following the modularization of the `WP_Debug_Data`.

Reviewed by swissspidy.
Merges [59290] to the 6.7 branch.

Props kebbet, desrosj, apermo.
Fixes #61648.



Built from https://develop.svn.wordpress.org/branches/6.7@59296


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2024-10-27 21:59:12 +00:00
parent 0c4d743c9b
commit 33f62d1dcb
2 changed files with 6 additions and 10 deletions

View File

@ -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 {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-RC1-59295';
$wp_version = '6.7-RC1-59296';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.