Ticket #46699: 46699.patch
File 46699.patch, 1.2 KB (added by , 6 years ago) |
---|
-
src/wp-admin/site-health-info.php
9 9 /** WordPress Administration Bootstrap */ 10 10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 /* translators: Page title of the Site Health Info WordPress page in the admin. */ 13 $title = _x( 'Site Health Info', 'page title' ); 14 12 15 if ( ! current_user_can( 'install_plugins' ) ) { 13 16 wp_die( __( 'Sorry, you are not allowed to access the debug data.' ), '', 403 ); 14 17 } -
src/wp-admin/site-health.php
14 14 /** WordPress Administration Bootstrap */ 15 15 require_once( dirname( __FILE__ ) . '/admin.php' ); 16 16 17 /* translators: Page title of the Site Health Status WordPress page in the admin. */ 18 $title = _x( 'Site Health Status', 'page title' ); 19 17 20 if ( ! current_user_can( 'install_plugins' ) ) { 18 21 wp_die( __( 'Sorry, you are not allowed to access site health information.' ), '', 403 ); 19 22 }