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/network/site-new.php

    r27469 r29030  
    120120        echo '<div id="message" class="updated"><p>' . $msg . '</p></div>';
    121121} ?>
    122 <form method="post" action="<?php echo network_admin_url('site-new.php?action=add-site'); ?>">
     122<form method="post" action="<?php echo network_admin_url( 'site-new.php?action=add-site' ); ?>" novalidate="novalidate">
    123123<?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ) ?>
    124124    <table class="form-table">
     
    141141        <tr class="form-field form-required">
    142142            <th scope="row"><?php _e( 'Admin Email' ) ?></th>
    143             <td><input name="blog[email]" type="text" class="regular-text wp-suggest-user" data-autocomplete-type="search" data-autocomplete-field="user_email" title="<?php esc_attr_e( 'Email' ) ?>"/></td>
     143            <td><input name="blog[email]" type="email" class="regular-text wp-suggest-user" data-autocomplete-type="search" data-autocomplete-field="user_email" title="<?php esc_attr_e( 'Email' ) ?>"/></td>
    144144        </tr>
    145145        <tr class="form-field">
Note: See TracChangeset for help on using the changeset viewer.