Make WordPress Core

Changeset 35893


Ignore:
Timestamp:
12/13/2015 03:12:11 AM (9 years ago)
Author:
jeremyfelt
Message:

MS: Update "Add New Site" address description text for accuracy.

Add hyphens to the list of allowed characters and add the description class to helper text paragraph tag.

Props thomaswm for the initial patch.
Fixes #26388.

File:
1 edited

Legend:

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

    r35789 r35893  
    185185                echo $current_site->domain . $current_site->path ?><input name="blog[domain]" type="text" class="regular-text" id="site-address" aria-describedby="site-address-desc"  autocapitalize="none" autocorrect="off" />
    186186            <?php }
    187             echo '<p id="site-address-desc">' . __( 'Only lowercase letters (a-z) and numbers are allowed.' ) . '</p>';
     187            echo '<p class="description" id="site-address-desc">' . __( 'Only lowercase letters (a-z), numbers, and hyphens are allowed.' ) . '</p>';
    188188            ?>
    189189            </td>
Note: See TracChangeset for help on using the changeset viewer.