Changeset 45508 for branches/5.2/src/wp-admin/site-health.php
- Timestamp:
- 06/10/2019 07:49:27 AM (5 years ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
-
branches/5.2/src/wp-admin/site-health.php
r45201 r45508 17 17 $title = __( 'Site Health Status' ); 18 18 19 if ( ! current_user_can( ' install_plugins' ) ) {19 if ( ! current_user_can( 'view_site_health_checks' ) ) { 20 20 wp_die( __( 'Sorry, you are not allowed to access site health information.' ), '', 403 ); 21 21 }
Note: See TracChangeset
for help on using the changeset viewer.