Revert type="email" (HTML5) as some browsers that do validation on these fields do not work for IDN domains yet. Core does not support these well either, but server-side validation can at least be dealt with by a plugin. see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0fdd30d5f1
commit
8c841df86d
|
@ -92,7 +92,7 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) );
|
|||
_e( 'E-mail:' );
|
||||
}
|
||||
?></td>
|
||||
<td><input type="email" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></td>
|
||||
<td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="first">
|
||||
|
|
|
@ -323,7 +323,7 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single',
|
|||
|
||||
<div class="inside">
|
||||
<label for="author-email"><?php _e('E-mail') ?></label>
|
||||
<input type="email" name="newcomment_author_email" size="50" value="" tabindex="102" id="author-email" />
|
||||
<input type="text" name="newcomment_author_email" size="50" value="" tabindex="102" id="author-email" />
|
||||
</div>
|
||||
|
||||
<div class="inside">
|
||||
|
|
|
@ -300,7 +300,7 @@ endif; ?>
|
|||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Email' ) ?></th>
|
||||
<td><input type="email" class="regular-text" name="user[email]" /></td>
|
||||
<td><input type="text" class="regular-text" name="user[email]" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Role'); ?></th>
|
||||
|
|
|
@ -113,7 +113,7 @@ include('./admin-header.php');
|
|||
</tr>
|
||||
<tr valign="top">
|
||||
<th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th>
|
||||
<td><input name="admin_email" type="email" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
|
||||
<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
|
||||
<span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
|
@ -132,7 +132,7 @@ include('./admin-header.php');
|
|||
<?php } else { ?>
|
||||
<tr valign="top">
|
||||
<th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
|
||||
<td><input name="new_admin_email" type="email" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
|
||||
<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
|
||||
<span class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></span>
|
||||
<?php
|
||||
$new_admin_email = get_option( 'new_admin_email' );
|
||||
|
|
|
@ -333,7 +333,7 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c
|
|||
<table class="form-table">
|
||||
<tr>
|
||||
<th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
|
||||
<td><input type="email" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />
|
||||
<td><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />
|
||||
<?php
|
||||
$new_email = get_option( $current_user->ID . '_new_email' );
|
||||
if ( $new_email && $new_email != $current_user->user_email ) : ?>
|
||||
|
|
Loading…
Reference in New Issue