Better backup notices. Props SergeyBiryukov, kapeels. fixes #15753
git-svn-id: https://develop.svn.wordpress.org/trunk@16921 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
176075ba48
commit
deea690720
@ -336,10 +336,12 @@ function network_step2( $errors = false ) {
|
|||||||
<h3><?php esc_html_e( 'Enabling the Network' ); ?></h3>
|
<h3><?php esc_html_e( 'Enabling the Network' ); ?></h3>
|
||||||
<p><?php _e( 'Complete the following steps to enable the features for creating a network of sites.' ); ?></p>
|
<p><?php _e( 'Complete the following steps to enable the features for creating a network of sites.' ); ?></p>
|
||||||
<div class="updated inline"><p><?php
|
<div class="updated inline"><p><?php
|
||||||
if ( iis7_supports_permalinks() )
|
if ( file_exists( ABSPATH . '.htaccess' ) )
|
||||||
_e( '<strong>Caution:</strong> We recommend you back up your existing <code>wp-config.php</code> file.' );
|
printf( __( '<strong>Caution:</strong> We recommend you back up your existing <code>wp-config.php</code> and <code>%s</code> files.' ), '.htaccess' );
|
||||||
|
elseif ( file_exists( ABSPATH . 'web.config' ) )
|
||||||
|
printf( __( '<strong>Caution:</strong> We recommend you back up your existing <code>wp-config.php</code> and <code>%s</code> files.' ), 'web.config' );
|
||||||
else
|
else
|
||||||
_e( '<strong>Caution:</strong> We recommend you back up your existing <code>wp-config.php</code> and <code>.htaccess</code> files.' );
|
_e( '<strong>Caution:</strong> We recommend you back up your existing <code>wp-config.php</code> file.' );
|
||||||
?></p></div>
|
?></p></div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user