mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
Drop the hyphen from e-mail and standardize on email.
The AP Stylebook changed this in 2011, and we're woefully inconsistent, so let's go with the standard. props morganestes, voldemortensen, niallkennedy (for patching on the previous AP style). fixes #26156. git-svn-id: https://develop.svn.wordpress.org/trunk@33774 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -172,7 +172,7 @@ function display_setup_form( $error = null ) {
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="admin_email"><?php _e( 'Your E-mail' ); ?></label></th>
|
||||
<th scope="row"><label for="admin_email"><?php _e( 'Your Email' ); ?></label></th>
|
||||
<td><input name="admin_email" type="email" id="admin_email" size="25" value="<?php echo esc_attr( $admin_email ); ?>" />
|
||||
<p><?php _e( 'Double-check your email address before continuing.' ); ?></p></td>
|
||||
</tr>
|
||||
@@ -293,7 +293,7 @@ switch($step) {
|
||||
$admin_email = isset( $_POST['admin_email'] ) ?trim( wp_unslash( $_POST['admin_email'] ) ) : '';
|
||||
$public = isset( $_POST['blog_public'] ) ? (int) $_POST['blog_public'] : 0;
|
||||
|
||||
// Check e-mail address.
|
||||
// Check email address.
|
||||
$error = false;
|
||||
if ( empty( $user_name ) ) {
|
||||
// TODO: poka-yoke
|
||||
|
||||
Reference in New Issue
Block a user