diff --git a/src/wp-admin/site-health-info.php b/src/wp-admin/site-health-info.php
index 4499381eb9..2a84623f9c 100644
a
|
b
|
|
9 | 9 | /** WordPress Administration Bootstrap */ |
10 | 10 | require_once( dirname( __FILE__ ) . '/admin.php' ); |
11 | 11 | |
| 12 | $is_site_info = ( isset( $_GET['tab'] ) && 'debug' === $_GET['tab'] ); |
| 13 | |
| 14 | if ( $is_site_info ) { |
| 15 | $title = __( 'Site Info' ); |
| 16 | } else { |
| 17 | $title = __( 'Site Health' ); |
| 18 | } |
| 19 | |
12 | 20 | if ( ! current_user_can( 'install_plugins' ) ) { |
13 | 21 | wp_die( __( 'Sorry, you are not allowed to access the debug data.' ), '', 403 ); |
14 | 22 | } |