WordPress.org

Make WordPress Core

Ticket #19869: 19869.diff

File 19869.diff, 1.4 KB (added by ryanduff, 6 years ago)
  • wp-admin/network.php

     
    367367                        ?></p></li>
    368368                        <li><p><?php printf( __( 'Add the following to your <code>wp-config.php</code> file in <code>%s</code> <strong>above</strong> the line reading <code>/* That&#8217;s all, stop editing! Happy blogging. */</code>:' ), ABSPATH ); ?></p>
    369369                                <textarea class="code" readonly="readonly" cols="100" rows="7">
    370 define( 'MULTISITE', true );
    371 define( 'SUBDOMAIN_INSTALL', <?php echo $subdomain_install ? 'true' : 'false'; ?> );
     370define('MULTISITE', true);
     371define('SUBDOMAIN_INSTALL', <?php echo $subdomain_install ? 'true' : 'false'; ?>);
    372372$base = '<?php echo $base; ?>';
    373 define( 'DOMAIN_CURRENT_SITE', '<?php echo $hostname; ?>' );
    374 define( 'PATH_CURRENT_SITE', '<?php echo $base; ?>' );
    375 define( 'SITE_ID_CURRENT_SITE', 1 );
    376 define( 'BLOG_ID_CURRENT_SITE', 1 );</textarea>
     373define('DOMAIN_CURRENT_SITE', '<?php echo $hostname; ?>');
     374define('PATH_CURRENT_SITE', '<?php echo $base; ?>');
     375define('SITE_ID_CURRENT_SITE', 1);
     376define('BLOG_ID_CURRENT_SITE', 1);</textarea>
    377377<?php
    378378        $keys_salts = array( 'AUTH_KEY' => '', 'SECURE_AUTH_KEY' => '', 'LOGGED_IN_KEY' => '', 'NONCE_KEY' => '', 'AUTH_SALT' => '', 'SECURE_AUTH_SALT' => '', 'LOGGED_IN_SALT' => '', 'NONCE_SALT' => '' );
    379379        foreach ( $keys_salts as $c => $v ) {