Site Health: Update inline docs following refactor of debug data.
Updates the inline docs following the modularization of the `WP_Debug_Data`. Props kebbet, desrosj, apermo. Fixes #61648. Built from https://develop.svn.wordpress.org/trunk@59290 git-svn-id: http://core.svn.wordpress.org/trunk@58682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c2441a3d71
commit
db2845d2a0
|
@ -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 {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue