WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/10/2012 01:23:48 AM (7 years ago)
Author:
azaozz
Message:

Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-general.php

    r19817 r20168  
    114114<tr valign="top">
    115115<th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th>
    116 <td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
     116<td><input name="admin_email" type="email" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
    117117<span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td>
    118118</tr>
     
    133133<tr valign="top">
    134134<th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
    135 <td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
     135<td><input name="new_admin_email" type="email" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
    136136<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>
    137137<?php
Note: See TracChangeset for help on using the changeset viewer.