Make WordPress Core

Ticket #38570: 38570.patch

File 38570.patch, 2.4 KB (added by ramiy, 8 years ago)
  • wp-admin/includes/network.php

     
    177177                        );
    178178                        echo '</p>';
    179179                } elseif ( $is_apache ) {
    180                         echo '<div class="error inline"><p><strong>' . __( 'Warning!' ) . '</strong> ';
     180                        echo '<div class="error inline"><p><strong>' . __( 'Warning:' ) . '</strong> ';
    181181                        /* translators: %s: mod_rewrite */
    182182                        printf( __( 'It looks like the Apache %s module is not installed.' ),
    183183                                '<code>mod_rewrite</code>'
     
    226226        endif;
    227227
    228228                if ( WP_CONTENT_DIR != ABSPATH . 'wp-content' && ( allow_subdirectory_install() || ! allow_subdomain_install() ) )
    229                         echo '<div class="error inline"><p><strong>' . __('Warning!') . '</strong> ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '</p></div>';
     229                        echo '<div class="error inline"><p><strong>' . __('Warning:') . '</strong> ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '</p></div>';
    230230
    231231                $is_www = ( 0 === strpos( $hostname, 'www.' ) );
    232232                if ( $is_www ) :
     
    267267                                        );
    268268                                        // Uh oh:
    269269                                        if ( !allow_subdirectory_install() )
    270                                                 echo ' <strong>' . __( 'Warning!' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '</strong>';
     270                                                echo ' <strong>' . __( 'Warning:' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '</strong>';
    271271                                ?></td>
    272272                        </tr>
    273273                <?php elseif ( !allow_subdomain_install() ) : ?>
     
    277277                                        _e( 'Because your install is in a directory, the sites in your WordPress network must use sub-directories.' );
    278278                                        // Uh oh:
    279279                                        if ( !allow_subdirectory_install() )
    280                                                 echo ' <strong>' . __( 'Warning!' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '</strong>';
     280                                                echo ' <strong>' . __( 'Warning:' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '</strong>';
    281281                                ?></td>
    282282                        </tr>
    283283                <?php elseif ( !allow_subdirectory_install() ) : ?>