Make WordPress Core

Ticket #37147: 37147.diff

File 37147.diff, 1019 bytes (added by anilbasnet, 8 years ago)
  • src/wp-admin/maint/repair.php

     
    3131
    3232        echo '<h1 class="screen-reader-text">' . __( 'Allow automatic database repair' ) . '</h1>';
    3333
    34         echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your <code>wp-config.php</code> file. Once this line is added to your config, reload this page.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>";
     34        // translators: %s: File name.
     35        echo '<p>' . sprintf( __( 'To allow use of this page to automatically repair database problems, please add the following line to your %s file. Once this line is added to your config, reload this page.' ), '<code>wp-config.php</code>' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>";
    3536
    3637        $default_key     = 'put your unique phrase here';
    3738        $missing_key     = false;