Make WordPress Core

Ticket #26824: 26824.diff

File 26824.diff, 1.5 KB (added by MikeHansenMe, 11 years ago)
  • src/wp-admin/user-edit.php

     
    401401<table class="form-table">
    402402<tr>
    403403        <th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
    404         <td><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />
     404        <td><input type="email" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />
    405405        <?php
    406406        $new_email = get_option( $current_user->ID . '_new_email' );
    407407        if ( $new_email && $new_email['newemail'] != $current_user->user_email && $profileuser->ID == $current_user->ID ) : ?>
     
    414414
    415415<tr>
    416416        <th><label for="url"><?php _e('Website') ?></label></th>
    417         <td><input type="text" name="url" id="url" value="<?php echo esc_attr($profileuser->user_url) ?>" class="regular-text code" /></td>
     417        <td><input type="url" name="url" id="url" value="<?php echo esc_attr($profileuser->user_url) ?>" class="regular-text code" /></td>
    418418</tr>
    419419
    420420<?php
  • src/wp-admin/css/wp-admin.css

     
    571571        direction: ltr;
    572572}
    573573
     574/* @noflip */
     575input[type="email"]{
     576        direction: ltr;
     577}
     578
    574579input.code {
    575580        padding-top: 6px;
    576581}