Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/10/2014 03:37:19 PM (9 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/register.php

    r8819 r9225  
    3636                <label for="signup_email"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    3737                <?php do_action( 'bp_signup_email_errors' ); ?>
    38                 <input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value(); ?>" />
     38                <input type="email" name="signup_email" id="signup_email" value="<?php bp_signup_email_value(); ?>" />
    3939
    4040                <label for="signup_password"><?php _e( 'Choose a Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
Note: See TracChangeset for help on using the changeset viewer.