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:
parent
0c4d743c9b
commit
33f62d1dcb
|
@ -30,7 +30,6 @@ class WP_Debug_Data {
|
||||||
* @since 6.7.0 Modularized into separate theme-oriented methods.
|
* @since 6.7.0 Modularized into separate theme-oriented methods.
|
||||||
*
|
*
|
||||||
* @throws ImagickException
|
* @throws ImagickException
|
||||||
* @global array $_wp_theme_features
|
|
||||||
*
|
*
|
||||||
* @return array The debug data for the site.
|
* @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.
|
* Set up the array that holds all debug information.
|
||||||
*
|
*
|
||||||
* When iterating through the debug data, the ordering of the sections
|
* When iterating through the debug data, the ordering of the sections
|
||||||
* occurs in insertion-order of the assignments into this array. Setting
|
* occurs in insertion-order of the assignments into this array.
|
||||||
* up empty values here preserves that specific ordering, so it doesn't
|
|
||||||
* depend on when inside this method each section is otherwise assigned.
|
|
||||||
*
|
*
|
||||||
* When all sections have been modularized, this will be the final single
|
* This is the single assignment of the sections before filtering. Null-entries will
|
||||||
* assignment of the sections before filtering and none will be empty.
|
* be automatically be removed.
|
||||||
*
|
|
||||||
* @ticket 61648
|
|
||||||
*/
|
*/
|
||||||
$info = array(
|
$info = array(
|
||||||
'wp-core' => self::get_wp_core(),
|
'wp-core' => self::get_wp_core(),
|
||||||
|
@ -726,7 +721,6 @@ class WP_Debug_Data {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the WordPress MU plugins section of the debug data.
|
* Gets the WordPress MU plugins section of the debug data.
|
||||||
*
|
*
|
||||||
|
@ -1014,6 +1008,8 @@ class WP_Debug_Data {
|
||||||
*
|
*
|
||||||
* @since 6.7.0
|
* @since 6.7.0
|
||||||
*
|
*
|
||||||
|
* @global array $_wp_theme_features
|
||||||
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
private static function get_wp_active_theme(): array {
|
private static function get_wp_active_theme(): array {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue