Make WordPress Core

Changeset 50839


Ignore:
Timestamp:
05/11/2021 05:08:45 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Adds spacing so define() statements displayed when creating a network.

This ensures that the code intended to be copied to wp-config.php conforms to WordPress Coding Standards.

Props paulschreiber, johnjamesjacoby.
Fixes #53182.

File:
1 edited

Legend:

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

    r49936 r50839  
    488488        </p>
    489489        <textarea class="code" readonly="readonly" cols="100" rows="7">
    490 define('MULTISITE', true);
    491 define('SUBDOMAIN_INSTALL', <?php echo $subdomain_install ? 'true' : 'false'; ?>);
    492 define('DOMAIN_CURRENT_SITE', '<?php echo $hostname; ?>');
    493 define('PATH_CURRENT_SITE', '<?php echo $base; ?>');
    494 define('SITE_ID_CURRENT_SITE', 1);
    495 define('BLOG_ID_CURRENT_SITE', 1);
     490define( 'MULTISITE', true );
     491define( 'SUBDOMAIN_INSTALL', <?php echo $subdomain_install ? 'true' : 'false'; ?> );
     492define( 'DOMAIN_CURRENT_SITE', '<?php echo $hostname; ?>' );
     493define( 'PATH_CURRENT_SITE', '<?php echo $base; ?>' );
     494define( 'SITE_ID_CURRENT_SITE', 1 );
     495define( 'BLOG_ID_CURRENT_SITE', 1 );
    496496</textarea>
    497497        <?php
Note: See TracChangeset for help on using the changeset viewer.