mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Implement email and url input types where appropriate. Props Kau-Boy. Fixes #22183.
git-svn-id: https://develop.svn.wordpress.org/trunk@29030 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -85,7 +85,7 @@ if ( isset( $_GET['updated'] ) ) {
|
||||
|
||||
<div class="wrap">
|
||||
<h2><?php echo esc_html( $title ); ?></h2>
|
||||
<form method="post" action="settings.php">
|
||||
<form method="post" action="settings.php" novalidate="novalidate">
|
||||
<?php wp_nonce_field( 'siteoptions' ); ?>
|
||||
<h3><?php _e( 'Operational Settings' ); ?></h3>
|
||||
<table class="form-table">
|
||||
@@ -99,7 +99,7 @@ if ( isset( $_GET['updated'] ) ) {
|
||||
<tr>
|
||||
<th scope="row"><label for="admin_email"><?php _e( 'Network Admin Email' ) ?></label></th>
|
||||
<td>
|
||||
<input name="admin_email" type="text" id="admin_email" class="regular-text" value="<?php echo esc_attr( get_site_option('admin_email') ) ?>" />
|
||||
<input name="admin_email" type="email" id="admin_email" class="regular-text" value="<?php echo esc_attr( get_site_option( 'admin_email' ) ) ?>" />
|
||||
<p class="description">
|
||||
<?php _e( 'This email address will receive notifications. Registration and support emails will also come from this address.' ); ?>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user