<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[20168] trunk: Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/20168">20168</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2012-03-10 01:23:48 +0000 (Sat, 10 Mar 2012)</dd>
</dl>
<h3>Log Message</h3>
<pre>Set proper HTML5 input types in the admin, props georgestephanis, fixes <a href="http://core.trac.wordpress.org/ticket/17863">#17863</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincsswpadmindevcss">trunk/wp-admin/css/wp-admin.dev.css</a></li>
<li><a href="#trunkwpadmineditformcommentphp">trunk/wp-admin/edit-form-comment.php</a></li>
<li><a href="#trunkwpadminincludesclasswplisttablephp">trunk/wp-admin/includes/class-wp-list-table.php</a></li>
<li><a href="#trunkwpadminincludesdashboardphp">trunk/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunkwpadminincludesmediaphp">trunk/wp-admin/includes/media.php</a></li>
<li><a href="#trunkwpadminincludesmsphp">trunk/wp-admin/includes/ms.php</a></li>
<li><a href="#trunkwpadminincludesnavmenuphp">trunk/wp-admin/includes/nav-menu.php</a></li>
<li><a href="#trunkwpadminincludesplugininstallphp">trunk/wp-admin/includes/plugin-install.php</a></li>
<li><a href="#trunkwpadminincludesscreenphp">trunk/wp-admin/includes/screen.php</a></li>
<li><a href="#trunkwpadminincludestemplatephp">trunk/wp-admin/includes/template.php</a></li>
<li><a href="#trunkwpadminincludesthemeinstallphp">trunk/wp-admin/includes/theme-install.php</a></li>
<li><a href="#trunkwpadminnetworksiteusersphp">trunk/wp-admin/network/site-users.php</a></li>
<li><a href="#trunkwpadminoptionsdiscussionphp">trunk/wp-admin/options-discussion.php</a></li>
<li><a href="#trunkwpadminoptionsgeneralphp">trunk/wp-admin/options-general.php</a></li>
<li><a href="#trunkwpadminoptionsmediaphp">trunk/wp-admin/options-media.php</a></li>
<li><a href="#trunkwpadminoptionsreadingphp">trunk/wp-admin/options-reading.php</a></li>
<li><a href="#trunkwpadminthemesphp">trunk/wp-admin/themes.php</a></li>
<li><a href="#trunkwpadminusereditphp">trunk/wp-admin/user-edit.php</a></li>
<li><a href="#trunkwpincludesclasswpeditorphp">trunk/wp-includes/class-wp-editor.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincsswpadmindevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/wp-admin.dev.css (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/wp-admin.dev.css        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/css/wp-admin.dev.css        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -210,6 +210,10 @@
</span><span class="cx"> /* include margin and padding in the width calculation of input and textarea */
</span><span class="cx"> input[type="text"],
</span><span class="cx"> input[type="password"],
</span><ins>+input[type="number"],
+input[type="search"],
+input[type="email"],
+input[type="url"],
</ins><span class="cx"> textarea {
</span><span class="cx">         -moz-box-sizing: border-box;
</span><span class="cx">         -webkit-box-sizing: border-box;
</span><span class="lines">@@ -222,6 +226,15 @@
</span><span class="cx">         vertical-align: text-bottom;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+input[type="search"] {
+        -webkit-appearance: textfield;
+        text-align: left;
+}
+
+input[type="search"]::-webkit-search-decoration {
+        display: none;
+}
+
</ins><span class="cx"> /* general */
</span><span class="cx"> html,
</span><span class="cx"> body {
</span><span class="lines">@@ -789,7 +802,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> input.small-text {
</span><del>-        width: 50px;
</del><ins>+        width: 60px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> #doaction,
</span></span></pre></div>
<a id="trunkwpadmineditformcommentphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-form-comment.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-form-comment.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/edit-form-comment.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -92,7 +92,7 @@
</span><span class="cx">                         _e( 'E-mail:' );
</span><span class="cx">                 }
</span><span class="cx"> ?></td>
</span><del>-        <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></td>
</del><ins>+        <td><input type="email" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></td>
</ins><span class="cx"> </tr>
</span><span class="cx"> <tr valign="top">
</span><span class="cx">         <td class="first">
</span></span></pre></div>
<a id="trunkwpadminincludesclasswplisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-list-table.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-list-table.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/includes/class-wp-list-table.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -212,7 +212,7 @@
</span><span class="cx"> ?>
</span><span class="cx"> <p class="search-box">
</span><span class="cx">         <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label>
</span><del>-        <input type="text" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" />
</del><ins>+        <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" />
</ins><span class="cx">         <?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?>
</span><span class="cx"> </p>
</span><span class="cx"> <?php
</span><span class="lines">@@ -519,9 +519,8 @@
</span><span class="cx">                 if ( 'bottom' == $which )
</span><span class="cx">                         $html_current_page = $current;
</span><span class="cx">                 else
</span><del>-                        $html_current_page = sprintf( "<input class='current-page' title='%s' type='text' name='%s' value='%s' size='%d' />",
</del><ins>+                        $html_current_page = sprintf( "<input class='current-page' title='%s' type='number' step='1' min='1' name='paged' value='%s' size='%d' />",
</ins><span class="cx">                                 esc_attr__( 'Current page' ),
</span><del>-                                esc_attr( 'paged' ),
</del><span class="cx">                                 $current,
</span><span class="cx">                                 strlen( $total_pages )
</span><span class="cx">                         );
</span></span></pre></div>
<a id="trunkwpadminincludesdashboardphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/dashboard.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/dashboard.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/includes/dashboard.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -463,14 +463,14 @@
</span><span class="cx">
</span><span class="cx">         <form name="searchform" action="<?php echo network_admin_url('users.php'); ?>" method="get">
</span><span class="cx">                 <p>
</span><del>-                        <input type="text" name="s" value="" size="17" />
</del><ins>+                        <input type="search" name="s" value="" size="17" />
</ins><span class="cx">                         <?php submit_button( __( 'Search Users' ), 'button', 'submit', false, array( 'id' => 'submit_users' ) ); ?>
</span><span class="cx">                 </p>
</span><span class="cx">         </form>
</span><span class="cx">
</span><span class="cx">         <form name="searchform" action="<?php echo network_admin_url('sites.php'); ?>" method="get">
</span><span class="cx">                 <p>
</span><del>-                        <input type="text" name="s" value="" size="17" />
</del><ins>+                        <input type="search" name="s" value="" size="17" />
</ins><span class="cx">                         <?php submit_button( __( 'Search Sites' ), 'button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?>
</span><span class="cx">                 </p>
</span><span class="cx">         </form>
</span></span></pre></div>
<a id="trunkwpadminincludesmediaphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/media.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/media.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/includes/media.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -1813,7 +1813,7 @@
</span><span class="cx">
</span><span class="cx"> <p id="media-search" class="search-box">
</span><span class="cx">         <label class="screen-reader-text" for="media-search-input"><?php _e('Search Media');?>:</label>
</span><del>-        <input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
</del><ins>+        <input type="search" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
</ins><span class="cx">         <?php submit_button( __( 'Search Media' ), 'button', '', false ); ?>
</span><span class="cx"> </p>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadminincludesmsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/ms.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/ms.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/includes/ms.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -374,7 +374,7 @@
</span><span class="cx">         ?>
</span><span class="cx">         <tr>
</span><span class="cx">                 <th><?php _e( 'Site Upload Space Quota '); ?></th>
</span><del>-                <td><input type="text" size="3" name="option[blog_upload_space]" value="<?php echo $quota; ?>" /> <?php _e( 'MB (Leave blank for network default)' ); ?></td>
</del><ins>+                <td><input type="number" step="0.1" min="0" size="4" name="option[blog_upload_space]" value="<?php echo $quota; ?>" /> <?php _e( 'MB (Leave blank for network default)' ); ?></td>
</ins><span class="cx">         </tr>
</span><span class="cx">         <?php
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkwpadminincludesnavmenuphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/nav-menu.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/nav-menu.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/includes/nav-menu.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -691,7 +691,7 @@
</span><span class="cx">                         }
</span><span class="cx">                         ?>
</span><span class="cx">                         <p class="quick-search-wrap">
</span><del>-                                <input type="text" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" />
</del><ins>+                                <input type="search" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" />
</ins><span class="cx">                                 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
</span><span class="cx">                                 <?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?>
</span><span class="cx">                         </p>
</span><span class="lines">@@ -922,7 +922,7 @@
</span><span class="cx">                         }
</span><span class="cx">                         ?>
</span><span class="cx">                         <p class="quick-search-wrap">
</span><del>-                                <input type="text" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" />
</del><ins>+                                <input type="search" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" />
</ins><span class="cx">                                 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
</span><span class="cx">                                 <?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?>
</span><span class="cx">                         </p>
</span></span></pre></div>
<a id="trunkwpadminincludesplugininstallphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/plugin-install.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/plugin-install.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/includes/plugin-install.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -127,7 +127,7 @@
</span><span class="cx">                         <option value="author"<?php selected('author', $type) ?>><?php _e('Author'); ?></option>
</span><span class="cx">                         <option value="tag"<?php selected('tag', $type) ?>><?php _ex('Tag', 'Plugin Installer'); ?></option>
</span><span class="cx">                 </select>
</span><del>-                <input type="text" name="s" value="<?php echo esc_attr($term) ?>" />
</del><ins>+                <input type="search" name="s" value="<?php echo esc_attr($term) ?>" />
</ins><span class="cx">                 <label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
</span><span class="cx">                 <?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?>
</span><span class="cx">         </form><?php
</span></span></pre></div>
<a id="trunkwpadminincludesscreenphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/screen.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/screen.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/includes/screen.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -983,7 +983,7 @@
</span><span class="cx">                 ?>
</span><span class="cx">                 <div class='screen-options'>
</span><span class="cx">                         <?php if ( !empty($per_page_label) ): ?>
</span><del>-                                <input type='text' class='screen-per-page' name='wp_screen_options[value]'
</del><ins>+                                <input type='number' step='1' min='1' class='screen-per-page' name='wp_screen_options[value]'
</ins><span class="cx">                                         id='<?php echo esc_attr( $option ); ?>' maxlength='3'
</span><span class="cx">                                         value='<?php echo esc_attr( $per_page ); ?>' />
</span><span class="cx">                                 <label for='<?php echo esc_attr( $option ); ?>'>
</span></span></pre></div>
<a id="trunkwpadminincludestemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/template.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/template.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/includes/template.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -323,7 +323,7 @@
</span><span class="cx">
</span><span class="cx">                 <div class="inside">
</span><span class="cx">                 <label for="author-email"><?php _e('E-mail') ?></label>
</span><del>-                <input type="text" name="newcomment_author_email" size="50" value="" tabindex="102" id="author-email" />
</del><ins>+                <input type="email" name="newcomment_author_email" size="50" value="" tabindex="102" id="author-email" />
</ins><span class="cx">                 </div>
</span><span class="cx">
</span><span class="cx">                 <div class="inside">
</span><span class="lines">@@ -598,10 +598,10 @@
</span><span class="cx">         }
</span><span class="cx">         $month .= '</select>';
</span><span class="cx">
</span><del>-        $day = '<input type="text" ' . ( $multi ? '' : 'id="jj" ' ) . 'name="jj" value="' . $jj . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';
-        $year = '<input type="text" ' . ( $multi ? '' : 'id="aa" ' ) . 'name="aa" value="' . $aa . '" size="4" maxlength="4"' . $tab_index_attribute . ' autocomplete="off" />';
-        $hour = '<input type="text" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';
-        $minute = '<input type="text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';
</del><ins>+        $day = '<input type="number" step="1" min="1" max="31" ' . ( $multi ? '' : 'id="jj" ' ) . 'name="jj" value="' . $jj . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';
+        $year = '<input type="number" step="1" ' . ( $multi ? '' : 'id="aa" ' ) . 'name="aa" value="' . $aa . '" size="4" maxlength="4"' . $tab_index_attribute . ' autocomplete="off" />';
+        $hour = '<input type="number" step="1" min="0" max="23" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';
+        $minute = '<input type="number" step="1" min="0" max="59" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';
</ins><span class="cx">
</span><span class="cx">         echo '<div class="timestamp-wrap">';
</span><span class="cx">         /* translators: 1: month input, 2: day input, 3: year input, 4: hour input, 5: minute input */
</span></span></pre></div>
<a id="trunkwpadminincludesthemeinstallphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/theme-install.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/theme-install.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/includes/theme-install.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx">         <option value="author" <?php selected('author', $type) ?>><?php _e('Author'); ?></option>
</span><span class="cx">         <option value="tag" <?php selected('tag', $type) ?>><?php _ex('Tag', 'Theme Installer'); ?></option>
</span><span class="cx">         </select>
</span><del>-        <input type="text" name="s" size="30" value="<?php echo esc_attr($term) ?>" />
</del><ins>+        <input type="search" name="s" size="30" value="<?php echo esc_attr($term) ?>" />
</ins><span class="cx">         <?php submit_button( __( 'Search' ), 'button', 'search', false ); ?>
</span><span class="cx"> </form>
</span><span class="cx"> <?php
</span></span></pre></div>
<a id="trunkwpadminnetworksiteusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/site-users.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/site-users.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/network/site-users.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -300,7 +300,7 @@
</span><span class="cx">                 </tr>
</span><span class="cx">                 <tr>
</span><span class="cx">                         <th scope="row"><?php _e( 'Email' ) ?></th>
</span><del>-                        <td><input type="text" class="regular-text" name="user[email]" /></td>
</del><ins>+                        <td><input type="email" class="regular-text" name="user[email]" /></td>
</ins><span class="cx">                 </tr>
</span><span class="cx">                 <tr>
</span><span class="cx">                         <th scope="row"><?php _e( 'Role'); ?></th>
</span></span></pre></div>
<a id="trunkwpadminoptionsdiscussionphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/options-discussion.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/options-discussion.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/options-discussion.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -71,7 +71,7 @@
</span><span class="cx">
</span><span class="cx"> <label for="close_comments_for_old_posts">
</span><span class="cx"> <input name="close_comments_for_old_posts" type="checkbox" id="close_comments_for_old_posts" value="1" <?php checked('1', get_option('close_comments_for_old_posts')); ?> />
</span><del>-<?php printf( __('Automatically close comments on articles older than %s days'), '</label><input name="close_comments_days_old" type="text" id="close_comments_days_old" value="' . esc_attr(get_option('close_comments_days_old')) . '" class="small-text" />'); ?>
</del><ins>+<?php printf( __('Automatically close comments on articles older than %s days'), '</label><input name="close_comments_days_old" type="number" min="0" step="1" id="close_comments_days_old" value="' . esc_attr(get_option('close_comments_days_old')) . '" class="small-text" />'); ?>
</ins><span class="cx"> <br />
</span><span class="cx"> <label for="thread_comments">
</span><span class="cx"> <input name="thread_comments" type="checkbox" id="thread_comments" value="1" <?php checked('1', get_option('thread_comments')); ?> />
</span><span class="lines">@@ -100,7 +100,7 @@
</span><span class="cx"> if ( 'oldest' == get_option('default_comments_page') ) $default_comments_page .= ' selected="selected"';
</span><span class="cx"> $default_comments_page .= '>' . __('first') . '</option></select>';
</span><span class="cx">
</span><del>-printf( __('Break comments into pages with %1$s top level comments per page and the %2$s page displayed by default'), '</label><label for="comments_per_page"><input name="comments_per_page" type="text" id="comments_per_page" value="' . esc_attr(get_option('comments_per_page')) . '" class="small-text" />', $default_comments_page );
</del><ins>+printf( __('Break comments into pages with %1$s top level comments per page and the %2$s page displayed by default'), '</label><label for="comments_per_page"><input name="comments_per_page" type="number" step="1" min="1" id="comments_per_page" value="' . esc_attr(get_option('comments_per_page')) . '" class="small-text" />', $default_comments_page );
</ins><span class="cx">
</span><span class="cx"> ?></label>
</span><span class="cx"> <br />
</span><span class="lines">@@ -142,7 +142,7 @@
</span><span class="cx"> <tr valign="top">
</span><span class="cx"> <th scope="row"><?php _e('Comment Moderation'); ?></th>
</span><span class="cx"> <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend>
</span><del>-<p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ); ?></label></p>
</del><ins>+<p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="number" step="1" min="1" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ); ?></label></p>
</ins><span class="cx">
</span><span class="cx"> <p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.'); ?></label></p>
</span><span class="cx"> <p>
</span></span></pre></div>
<a id="trunkwpadminoptionsgeneralphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/options-general.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/options-general.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/options-general.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -113,7 +113,7 @@
</span><span class="cx"> </tr>
</span><span class="cx"> <tr valign="top">
</span><span class="cx"> <th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th>
</span><del>-<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
</del><ins>+<td><input name="admin_email" type="email" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
</ins><span class="cx"> <span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td>
</span><span class="cx"> </tr>
</span><span class="cx"> <tr valign="top">
</span><span class="lines">@@ -132,7 +132,7 @@
</span><span class="cx"> <?php } else { ?>
</span><span class="cx"> <tr valign="top">
</span><span class="cx"> <th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
</span><del>-<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
</del><ins>+<td><input name="new_admin_email" type="email" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
</ins><span class="cx"> <span class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></span>
</span><span class="cx"> <?php
</span><span class="cx"> $new_admin_email = get_option( 'new_admin_email' );
</span></span></pre></div>
<a id="trunkwpadminoptionsmediaphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/options-media.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/options-media.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/options-media.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -60,9 +60,9 @@
</span><span class="cx"> <th scope="row"><?php _e('Thumbnail size') ?></th>
</span><span class="cx"> <td>
</span><span class="cx"> <label for="thumbnail_size_w"><?php _e('Width'); ?></label>
</span><del>-<input name="thumbnail_size_w" type="text" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" class="small-text" />
</del><ins>+<input name="thumbnail_size_w" type="number" step="1" min="1" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" class="small-text" />
</ins><span class="cx"> <label for="thumbnail_size_h"><?php _e('Height'); ?></label>
</span><del>-<input name="thumbnail_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" class="small-text" /><br />
</del><ins>+<input name="thumbnail_size_h" type="number" step="1" min="1" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" class="small-text" /><br />
</ins><span class="cx"> <input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/>
</span><span class="cx"> <label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label>
</span><span class="cx"> </td>
</span><span class="lines">@@ -72,9 +72,9 @@
</span><span class="cx"> <th scope="row"><?php _e('Medium size') ?></th>
</span><span class="cx"> <td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend>
</span><span class="cx"> <label for="medium_size_w"><?php _e('Max Width'); ?></label>
</span><del>-<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" />
</del><ins>+<input name="medium_size_w" type="number" step="1" min="1" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" />
</ins><span class="cx"> <label for="medium_size_h"><?php _e('Max Height'); ?></label>
</span><del>-<input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" class="small-text" />
</del><ins>+<input name="medium_size_h" type="number" step="1" min="1" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" class="small-text" />
</ins><span class="cx"> </fieldset></td>
</span><span class="cx"> </tr>
</span><span class="cx">
</span><span class="lines">@@ -82,9 +82,9 @@
</span><span class="cx"> <th scope="row"><?php _e('Large size') ?></th>
</span><span class="cx"> <td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend>
</span><span class="cx"> <label for="large_size_w"><?php _e('Max Width'); ?></label>
</span><del>-<input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" />
</del><ins>+<input name="large_size_w" type="number" step="1" min="1" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" />
</ins><span class="cx"> <label for="large_size_h"><?php _e('Max Height'); ?></label>
</span><del>-<input name="large_size_h" type="text" id="large_size_h" value="<?php form_option('large_size_h'); ?>" class="small-text" />
</del><ins>+<input name="large_size_h" type="number" step="1" min="1" id="large_size_h" value="<?php form_option('large_size_h'); ?>" class="small-text" />
</ins><span class="cx"> </fieldset></td>
</span><span class="cx"> </tr>
</span><span class="cx">
</span><span class="lines">@@ -106,9 +106,9 @@
</span><span class="cx"> <th scope="row"><?php _e('Maximum embed size') ?></th>
</span><span class="cx"> <td>
</span><span class="cx"> <label for="embed_size_w"><?php _e('Width'); ?></label>
</span><del>-<input name="embed_size_w" type="text" id="embed_size_w" value="<?php form_option('embed_size_w'); ?>" class="small-text" />
</del><ins>+<input name="embed_size_w" type="number" step="1" min="1" id="embed_size_w" value="<?php form_option('embed_size_w'); ?>" class="small-text" />
</ins><span class="cx"> <label for="embed_size_h"><?php _e('Height'); ?></label>
</span><del>-<input name="embed_size_h" type="text" id="embed_size_h" value="<?php form_option('embed_size_h'); ?>" class="small-text" />
</del><ins>+<input name="embed_size_h" type="number" step="1" min="1" id="embed_size_h" value="<?php form_option('embed_size_h'); ?>" class="small-text" />
</ins><span class="cx"> <?php if ( !empty($content_width) ) echo '<br />' . __("If the width value is left blank, embeds will default to the max width of your theme."); ?>
</span><span class="cx"> </td>
</span><span class="cx"> </tr>
</span><span class="lines">@@ -128,7 +128,7 @@
</span><span class="cx">
</span><span class="cx"> <tr valign="top">
</span><span class="cx"> <th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
</span><del>-<td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo esc_attr( get_option('upload_url_path')); ?>" class="regular-text code" />
</del><ins>+<td><input name="upload_url_path" type="url" id="upload_url_path" value="<?php echo esc_attr( get_option('upload_url_path')); ?>" class="regular-text code" />
</ins><span class="cx"> <span class="description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></span>
</span><span class="cx"> </td>
</span><span class="cx"> </tr>
</span></span></pre></div>
<a id="trunkwpadminoptionsreadingphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/options-reading.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/options-reading.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/options-reading.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -105,12 +105,12 @@
</span><span class="cx"> <tr valign="top">
</span><span class="cx"> <th scope="row"><label for="posts_per_page"><?php _e( 'Blog pages show at most' ); ?></label></th>
</span><span class="cx"> <td>
</span><del>-<input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> <?php _e( 'posts' ); ?>
</del><ins>+<input name="posts_per_page" type="number" step="1" min="1" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> <?php _e( 'posts' ); ?>
</ins><span class="cx"> </td>
</span><span class="cx"> </tr>
</span><span class="cx"> <tr valign="top">
</span><span class="cx"> <th scope="row"><label for="posts_per_rss"><?php _e( 'Syndication feeds show the most recent' ); ?></label></th>
</span><del>-<td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></td>
</del><ins>+<td><input name="posts_per_rss" type="number" step="1" min="1" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></td>
</ins><span class="cx"> </tr>
</span><span class="cx"> <tr valign="top">
</span><span class="cx"> <th scope="row"><?php _e( 'For each article in a feed, show' ); ?> </th>
</span></span></pre></div>
<a id="trunkwpadminthemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/themes.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/themes.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/themes.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -158,7 +158,7 @@
</span><span class="cx">
</span><span class="cx"> <p class="search-box">
</span><span class="cx">         <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Installed Themes'); ?>:</label>
</span><del>-        <input type="text" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" />
</del><ins>+        <input type="search" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" />
</ins><span class="cx">         <?php submit_button( __( 'Search Installed Themes' ), 'button', false, false, array( 'id' => 'search-submit' ) ); ?>
</span><span class="cx">         <a id="filter-click" href="?filter=1"><?php _e( 'Feature Filter' ); ?></a>
</span><span class="cx"> </p>
</span></span></pre></div>
<a id="trunkwpadminusereditphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/user-edit.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/user-edit.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-admin/user-edit.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -333,7 +333,7 @@
</span><span class="cx"> <table class="form-table">
</span><span class="cx"> <tr>
</span><span class="cx">         <th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
</span><del>-        <td><input type="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />
</del><ins>+        <td><input type="email" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />
</ins><span class="cx">         <?php
</span><span class="cx">         $new_email = get_option( $current_user->ID . '_new_email' );
</span><span class="cx">         if ( $new_email && $new_email != $current_user->user_email ) : ?>
</span></span></pre></div>
<a id="trunkwpincludesclasswpeditorphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/class-wp-editor.php (20167 => 20168)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/class-wp-editor.php        2012-03-09 23:30:29 UTC (rev 20167)
+++ trunk/wp-includes/class-wp-editor.php        2012-03-10 01:23:48 UTC (rev 20168)
</span><span class="lines">@@ -784,7 +784,7 @@
</span><span class="cx">                         <div class="link-search-wrapper">
</span><span class="cx">                                 <label>
</span><span class="cx">                                         <span><?php _e( 'Search' ); ?></span>
</span><del>-                                        <input type="text" id="search-field" class="link-search-field" tabindex="60" autocomplete="off" />
</del><ins>+                                        <input type="search" id="search-field" class="link-search-field" tabindex="60" autocomplete="off" />
</ins><span class="cx">                                         <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
</span><span class="cx">                                 </label>
</span><span class="cx">                         </div>
</span></span></pre>
</div>
</div>
</body>
</html>