Site Health: Include site ID in debug data on multisite installations.
Follow-up to [44986]. Props sebastienserre, mukesh27. Fixes #60081. Built from https://develop.svn.wordpress.org/trunk@57245 git-svn-id: http://core.svn.wordpress.org/trunk@56751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7670c25979
commit
45df401868
|
@ -381,6 +381,14 @@ class WP_Debug_Data {
|
|||
|
||||
// Conditionally add debug information for multisite setups.
|
||||
if ( is_multisite() ) {
|
||||
$site_id = get_current_blog_id();
|
||||
|
||||
$info['wp-core']['fields']['site_id'] = array(
|
||||
'label' => __( 'Site ID' ),
|
||||
'value' => $site_id,
|
||||
'debug' => $site_id,
|
||||
);
|
||||
|
||||
$network_query = new WP_Network_Query();
|
||||
$network_ids = $network_query->query(
|
||||
array(
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-alpha-57244';
|
||||
$wp_version = '6.5-alpha-57245';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue