WordPress.org

Make WordPress Core

Ticket #46699: 46699.patch

File 46699.patch, 1.2 KB (added by mukesh27, 9 months ago)

Patch.

  • src/wp-admin/site-health-info.php

     
    99/** WordPress Administration Bootstrap */
    1010require_once( dirname( __FILE__ ) . '/admin.php' );
    1111
     12/* translators: Page title of the Site Health Info WordPress page in the admin. */
     13$title = _x( 'Site Health Info', 'page title' );
     14
    1215if ( ! current_user_can( 'install_plugins' ) ) {
    1316        wp_die( __( 'Sorry, you are not allowed to access the debug data.' ), '', 403 );
    1417}
  • src/wp-admin/site-health.php

     
    1414/** WordPress Administration Bootstrap */
    1515require_once( dirname( __FILE__ ) . '/admin.php' );
    1616
     17/* translators: Page title of the Site Health Status WordPress page in the admin. */
     18$title = _x( 'Site Health Status', 'page title' );
     19
    1720if ( ! current_user_can( 'install_plugins' ) ) {
    1821        wp_die( __( 'Sorry, you are not allowed to access site health information.' ), '', 403 );
    1922}