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-admin/install.php

    r29020 r29030  
    9999<p class="message"><?php echo $error; ?></p>
    100100<?php } ?>
    101 <form id="setup" method="post" action="install.php?step=2">
     101<form id="setup" method="post" action="install.php?step=2" novalidate="novalidate">
    102102    <table class="form-table">
    103103        <tr>
     
    135135        <tr>
    136136            <th scope="row"><label for="admin_email"><?php _e( 'Your E-mail' ); ?></label></th>
    137             <td><input name="admin_email" type="text" id="admin_email" size="25" value="<?php echo esc_attr( $admin_email ); ?>" />
     137            <td><input name="admin_email" type="email" id="admin_email" size="25" value="<?php echo esc_attr( $admin_email ); ?>" />
    138138            <p><?php _e( 'Double-check your email address before continuing.' ); ?></p></td>
    139139        </tr>
Note: See TracChangeset for help on using the changeset viewer.