WordPress.org

Make WordPress Core

Changeset 37858


Ignore:
Timestamp:
06/23/2016 04:11:47 PM (4 years ago)
Author:
swissspidy
Message:

I18N: Remove HTML tags from translatable string in wp-admin/maint/repair.php.

Props anilbasnet.
Fixes #37147.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/maint/repair.php

    r37488 r37858  
    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    echo '<p>';
     35    printf(
     36        /* translators: %s: File name. */
     37        __( '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.' ),
     38        '<code>wp-config.php</code>'
     39    );
     40    echo "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>";
    3541
    3642    $default_key     = 'put your unique phrase here';
Note: See TracChangeset for help on using the changeset viewer.