Make WordPress Core


Ignore:
Timestamp:
03/15/2012 06:09:14 PM (13 years ago)
Author:
nacin
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r20168 r20196  
    334334<tr>
    335335    <th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
    336     <td><input type="email" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />
     336    <td><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />
    337337    <?php
    338338    $new_email = get_option( $current_user->ID . '_new_email' );
Note: See TracChangeset for help on using the changeset viewer.