WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/08/2014 05:51:58 PM (7 years ago)
Author:
johnbillion
Message:

Implement email and url input types where appropriate. Props Kau-Boy. Fixes #22183.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r28447 r29030  
    189189        <p class="error"><?php echo $errmsg ?></p>
    190190    <?php } ?>
    191     <input name="user_email" type="text" id="user_email" value="<?php  echo esc_attr($user_email) ?>" maxlength="200" /><br /><?php _e('We send your registration email to this address. (Double-check your email address before continuing.)') ?>
     191    <input name="user_email" type="email" id="user_email" value="<?php  echo esc_attr($user_email) ?>" maxlength="200" /><br /><?php _e('We send your registration email to this address. (Double-check your email address before continuing.)') ?>
    192192    <?php
    193193    if ( $errmsg = $errors->get_error_message('generic') ) {
     
    436436
    437437    <h2><?php printf( __( 'Get your own %s account in seconds' ), get_current_site()->site_name ) ?></h2>
    438     <form id="setupform" method="post" action="wp-signup.php">
     438    <form id="setupform" method="post" action="wp-signup.php" novalidate="novalidate">
    439439        <input type="hidden" name="stage" value="validate-user-signup" />
    440440        <?php
Note: See TracChangeset for help on using the changeset viewer.