From 320ee24a557068baf68ee5425ad274fedeb2e8d0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 15 Oct 2014 14:13:20 +0000 Subject: [PATCH] Add line breaks at the end of network setup rules to avoid unintended merging with a subsequent line. props socki03. fixes #29945. Built from https://develop.svn.wordpress.org/trunk@29899 git-svn-id: http://core.svn.wordpress.org/trunk@29654 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/network.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/wp-admin/network.php b/wp-admin/network.php index e5046f9b03..051295a104 100644 --- a/wp-admin/network.php +++ b/wp-admin/network.php @@ -383,13 +383,14 @@ function network_step2( $errors = false ) { ?>
  1. wp-config.php file in %s above the line reading /* That’s all, stop editing! Happy blogging. */:' ), $location_of_wp_config ); ?>

    - +define('BLOG_ID_CURRENT_SITE', 1); + '', 'SECURE_AUTH_KEY' => '', 'LOGGED_IN_KEY' => '', 'NONCE_KEY' => '', 'AUTH_SALT' => '', 'SECURE_AUTH_SALT' => '', 'LOGGED_IN_SALT' => '', 'NONCE_SALT' => '' ); foreach ( $keys_salts as $c => $v ) { @@ -470,7 +471,8 @@ define('BLOG_ID_CURRENT_SITE', 1); -'; + +'; echo '
  2. '; /* translators: 1: a filename like .htaccess. 2: a file path. */ @@ -506,6 +508,7 @@ RewriteRule ^ - [L] RewriteRule ^{$subdir_match}(wp-(content|admin|includes).*) {$rewrite_base}{$subdir_replacement_12} [L] RewriteRule ^{$subdir_match}(.*\.php)$ {$rewrite_base}$subdir_replacement_12 [L] RewriteRule . index.php [L] + EOF; echo '

  3. ';