WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/24/2016 06:39:32 PM (5 years ago)
Author:
SergeyBiryukov
Message:

I18N: Move the "Caution:" prefix to a separate string in wp-admin/includes/network.php.

Props ramiy.
Fixes #35674.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/network.php

    r35971 r36690  
    377377        <div class="updated inline"><p><?php
    378378            if ( file_exists( $home_path . '.htaccess' ) ) {
     379                echo '<strong>' . __( 'Caution:' ) . '</strong> ';
    379380                printf(
    380381                    /* translators: 1: wp-config.php 2: .htaccess */
    381                     __( '<strong>Caution:</strong> We recommend you back up your existing %1$s and %2$s files.' ),
     382                    __( 'We recommend you back up your existing %1$s and %2$s files.' ),
    382383                    '<code>wp-config.php</code>',
    383384                    '<code>.htaccess</code>'
    384385                );
    385386            } elseif ( file_exists( $home_path . 'web.config' ) ) {
     387                echo '<strong>' . __( 'Caution:' ) . '</strong> ';
    386388                printf(
    387389                    /* translators: 1: wp-config.php 2: web.config */
    388                     __( '<strong>Caution:</strong> We recommend you back up your existing %1$s and %2$s files.' ),
     390                    __( 'We recommend you back up your existing %1$s and %2$s files.' ),
    389391                    '<code>wp-config.php</code>',
    390392                    '<code>web.config</code>'
    391393                );
    392394            } else {
     395                echo '<strong>' . __( 'Caution:' ) . '</strong> ';
    393396                printf(
    394397                    /* translators: 1: wp-config.php */
    395                     __( '<strong>Caution:</strong> We recommend you back up your existing %s file.' ),
     398                    __( 'We recommend you back up your existing %s file.' ),
    396399                    '<code>wp-config.php</code>'
    397400                );
Note: See TracChangeset for help on using the changeset viewer.