WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/12/2019 06:40:16 AM (23 months ago)
Author:
pento
Message:

Coding Standards: Upgrade WPCS to 1.2.1.

This upgrade fixes quite a few false positives, as well as auto-fixing some indenting issues.

Fixes #45956.

File:
1 edited

Legend:

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

    r43571 r44574  
    232232                <input name="blog[domain]" type="text" class="regular-text" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required /><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', get_network()->domain ); ?></span>
    233233                <?php
    234 } else {
    235     echo get_network()->domain . get_network()->path
    236     ?>
     234            } else {
     235                echo get_network()->domain . get_network()->path
     236                ?>
    237237                <input name="blog[domain]" type="text" class="regular-text" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required />
    238     <?php
    239 }
     238                <?php
     239            }
    240240            echo '<p class="description" id="site-address-desc">' . __( 'Only lowercase letters (a-z), numbers, and hyphens are allowed.' ) . '</p>';
    241 ?>
     241            ?>
    242242            </td>
    243243        </tr>
Note: See TracChangeset for help on using the changeset viewer.