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/settings.php

    r27469 r29030  
    8686<div class="wrap">
    8787    <h2><?php echo esc_html( $title ); ?></h2>
    88     <form method="post" action="settings.php">
     88    <form method="post" action="settings.php" novalidate="novalidate">
    8989        <?php wp_nonce_field( 'siteoptions' ); ?>
    9090        <h3><?php _e( 'Operational Settings' ); ?></h3>
     
    100100                <th scope="row"><label for="admin_email"><?php _e( 'Network Admin Email' ) ?></label></th>
    101101                <td>
    102                     <input name="admin_email" type="text" id="admin_email" class="regular-text" value="<?php echo esc_attr( get_site_option('admin_email') ) ?>" />
     102                    <input name="admin_email" type="email" id="admin_email" class="regular-text" value="<?php echo esc_attr( get_site_option( 'admin_email' ) ) ?>" />
    103103                    <p class="description">
    104104                        <?php _e( 'This email address will receive notifications. Registration and support emails will also come from this address.' ); ?>
Note: See TracChangeset for help on using the changeset viewer.