diff --git a/wp-admin/site-health-info.php b/wp-admin/site-health-info.php index fde931ab8a..4f5f2c8045 100644 --- a/wp-admin/site-health-info.php +++ b/wp-admin/site-health-info.php @@ -9,6 +9,8 @@ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); +$title = __( 'Site Health Info' ); + if ( ! current_user_can( 'install_plugins' ) ) { wp_die( __( 'Sorry, you are not allowed to access the debug data.' ), '', 403 ); } diff --git a/wp-admin/site-health.php b/wp-admin/site-health.php index 62279e7daa..f3efc23d49 100644 --- a/wp-admin/site-health.php +++ b/wp-admin/site-health.php @@ -14,6 +14,8 @@ if ( isset( $_GET['tab'] ) && 'debug' === $_GET['tab'] ) { /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); +$title = __( 'Site Health Status' ); + if ( ! current_user_can( 'install_plugins' ) ) { wp_die( __( 'Sorry, you are not allowed to access site health information.' ), '', 403 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index ce0e5feb56..1eb1cc7708 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta1-45069'; +$wp_version = '5.2-beta1-45070'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.