diff --git a/wp-admin/network.php b/wp-admin/network.php index 9a8bd2f2d..9080a2b5d 100644 --- a/wp-admin/network.php +++ b/wp-admin/network.php @@ -336,10 +336,12 @@ function network_step2( $errors = false ) {

Caution: We recommend you back up your existing wp-config.php file.' ); + if ( file_exists( ABSPATH . '.htaccess' ) ) + printf( __( 'Caution: We recommend you back up your existing wp-config.php and %s files.' ), '.htaccess' ); + elseif ( file_exists( ABSPATH . 'web.config' ) ) + printf( __( 'Caution: We recommend you back up your existing wp-config.php and %s files.' ), 'web.config' ); else - _e( 'Caution: We recommend you back up your existing wp-config.php and .htaccess files.' ); + _e( 'Caution: We recommend you back up your existing wp-config.php file.' ); ?>