WordPress.org

Make WordPress Core

Ticket #15753: 15753-2.patch

File 15753-2.patch, 1.1 KB (added by SergeyBiryukov, 4 years ago)

Revised for proper l10n

  • wp-admin/network.php

     
    336336                <h3><?php esc_html_e( 'Enabling the Network' ); ?></h3> 
    337337                <p><?php _e( 'Complete the following steps to enable the features for creating a network of sites.' ); ?></p> 
    338338                <div class="updated inline"><p><?php 
    339                         if ( iis7_supports_permalinks() ) 
     339                        if ( file_exists( ABSPATH . '.htaccess' ) ) 
     340                                _e( '<strong>Caution:</strong> We recommend you back up your existing <code>wp-config.php</code> and <code>.htaccess</code> files.' ); 
     341                        elseif ( file_exists( ABSPATH . 'web.config' ) ) 
     342                                _e( '<strong>Caution:</strong> We recommend you back up your existing <code>wp-config.php</code> and <code>web.config</code> files.' ); 
     343                        else 
    340344                                _e( '<strong>Caution:</strong> We recommend you back up your existing <code>wp-config.php</code> file.' ); 
    341                         else 
    342                                 _e( '<strong>Caution:</strong> We recommend you back up your existing <code>wp-config.php</code> and <code>.htaccess</code> files.' ); 
    343345                ?></p></div> 
    344346<?php 
    345347        }