WordPress.org

Make WordPress Core

Changeset 19956


Ignore:
Timestamp:
02/20/2012 04:35:03 PM (6 years ago)
Author:
nacin
Message:

Align the spacing of the multisite constants with what has been long-established in wp-config and wp-config-sample. props ryanduff, fixes #19869.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network.php

    r19569 r19956  
    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' => '' );
Note: See TracChangeset for help on using the changeset viewer.