Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/10/2014 03:37:19 PM (10 years ago)
Author:
boonebgorges
Message:

Use 'type="email"' for email inputs in registration and settings templates.

This provides a better experience on mobile devices and other browsers that
support the 'email' type.

Props standardspace.
See #5914.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/general.php

    r8686 r9225  
    1111
    1212    <label for="email"><?php _e( 'Account Email', 'buddypress' ); ?></label>
    13     <input type="text" name="email" id="email" value="<?php echo bp_get_displayed_user_email(); ?>" class="settings-input" />
     13    <input type="email" name="email" id="email" value="<?php echo bp_get_displayed_user_email(); ?>" class="settings-input" />
    1414
    1515    <label for="pass1"><?php _e( 'Change Password <span>(leave blank for no change)</span>', 'buddypress' ); ?></label>
Note: See TracChangeset for help on using the changeset viewer.