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