Ticket #17863: 17863.diff
File 17863.diff, 20.1 KB (added by , 13 years ago) |
---|
-
wp-admin/edit-form-comment.php
$date = date_i18n( $datef, strtotime( $comment->comment_date ) ); 92 92 _e( 'E-mail:' ); 93 93 } 94 94 ?></td> 95 <td><input type=" text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></td>95 <td><input type="email" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></td> 96 96 </tr> 97 97 <tr valign="top"> 98 98 <td class="first"> … … $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); 103 103 } else { 104 104 _e( 'URL:' ); 105 105 } ?></td> 106 <td><input type=" text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($comment->comment_author_url); ?>" tabindex="3" /></td>106 <td><input type="url" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($comment->comment_author_url); ?>" tabindex="3" /></td> 107 107 </tr> 108 108 </tbody> 109 109 </table> -
wp-admin/edit-link-form.php
if ( 1 != $screen_layout_columns ) { 98 98 <div id="addressdiv" class="stuffbox"> 99 99 <h3><label for="link_url"><?php _e('Web Address') ?></label></h3> 100 100 <div class="inside"> 101 <input type=" text" name="link_url" size="30" class="code" tabindex="1" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" />101 <input type="url" name="link_url" size="30" class="code" tabindex="1" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" /> 102 102 <p><?php _e('Example: <code>http://wordpress.org/</code> — don’t forget the <code>http://</code>'); ?></p> 103 103 </div> 104 104 </div> -
wp-admin/includes/class-wp-list-table.php
class WP_List_Table { 212 212 ?> 213 213 <p class="search-box"> 214 214 <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label> 215 <input type=" text" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" />215 <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" /> 216 216 <?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?> 217 217 </p> 218 218 <?php -
wp-admin/includes/dashboard.php
function wp_network_dashboard_right_now() { 463 463 464 464 <form name="searchform" action="<?php echo network_admin_url('users.php'); ?>" method="get"> 465 465 <p> 466 <input type=" text" name="s" value="" size="17" />466 <input type="search" name="s" value="" size="17" /> 467 467 <?php submit_button( __( 'Search Users' ), 'button', 'submit', false, array( 'id' => 'submit_users' ) ); ?> 468 468 </p> 469 469 </form> 470 470 471 471 <form name="searchform" action="<?php echo network_admin_url('sites.php'); ?>" method="get"> 472 472 <p> 473 <input type=" text" name="s" value="" size="17" />473 <input type="search" name="s" value="" size="17" /> 474 474 <?php submit_button( __( 'Search Sites' ), 'button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?> 475 475 </p> 476 476 </form> -
wp-admin/includes/media.php
function media_upload_library_form($errors) { 1777 1777 1778 1778 <p id="media-search" class="search-box"> 1779 1779 <label class="screen-reader-text" for="media-search-input"><?php _e('Search Media');?>:</label> 1780 <input type=" text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />1780 <input type="search" id="media-search-input" name="s" value="<?php the_search_query(); ?>" /> 1781 1781 <?php submit_button( __( 'Search Media' ), 'button', '', false ); ?> 1782 1782 </p> 1783 1783 -
wp-admin/includes/ms.php
function upload_space_setting( $id ) { 423 423 ?> 424 424 <tr> 425 425 <th><?php _e( 'Site Upload Space Quota '); ?></th> 426 <td><input type=" text" size="3" name="option[blog_upload_space]" value="<?php echo $quota; ?>" /> <?php _e( 'MB (Leave blank for network default)' ); ?></td>426 <td><input type="number" size="3" name="option[blog_upload_space]" value="<?php echo $quota; ?>" /> <?php _e( 'MB (Leave blank for network default)' ); ?></td> 427 427 </tr> 428 428 <?php 429 429 } -
wp-admin/includes/nav-menu.php
class Walker_Nav_Menu_Edit extends Walker_Nav_Menu { 127 127 <p class="field-url description description-wide"> 128 128 <label for="edit-menu-item-url-<?php echo $item_id; ?>"> 129 129 <?php _e( 'URL' ); ?><br /> 130 <input type=" text" id="edit-menu-item-url-<?php echo $item_id; ?>" class="widefat code edit-menu-item-url" name="menu-item-url[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->url ); ?>" />130 <input type="url" id="edit-menu-item-url-<?php echo $item_id; ?>" class="widefat code edit-menu-item-url" name="menu-item-url[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->url ); ?>" /> 131 131 </label> 132 132 </p> 133 133 <?php endif; ?> … … function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) { 691 691 } 692 692 ?> 693 693 <p class="quick-search-wrap"> 694 <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; ?>" />694 <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; ?>" /> 695 695 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 696 696 <?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?> 697 697 </p> … … function wp_nav_menu_item_taxonomy_meta_box( $object, $taxonomy ) { 923 923 } 924 924 ?> 925 925 <p class="quick-search-wrap"> 926 <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; ?>" />926 <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; ?>" /> 927 927 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 928 928 <?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?> 929 929 </p> -
wp-admin/includes/plugin-install.php
function install_search_form(){ 127 127 <option value="author"<?php selected('author', $type) ?>><?php _e('Author'); ?></option> 128 128 <option value="tag"<?php selected('tag', $type) ?>><?php _ex('Tag', 'Plugin Installer'); ?></option> 129 129 </select> 130 <input type=" text" name="s" value="<?php echo esc_attr($term) ?>" />130 <input type="search" name="s" value="<?php echo esc_attr($term) ?>" /> 131 131 <label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label> 132 132 <?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?> 133 133 </form><?php -
wp-admin/includes/screen.php
final class WP_Screen { 936 936 <h5><?php _ex('Show on screen', 'Screen Options') ?></h5> 937 937 <div class='screen-options'> 938 938 <?php if ( !empty($per_page_label) ): ?> 939 <input type=' text' class='screen-per-page' name='wp_screen_options[value]'939 <input type='number' class='screen-per-page' name='wp_screen_options[value]' 940 940 id='<?php echo esc_attr( $option ); ?>' maxlength='3' 941 941 value='<?php echo esc_attr( $per_page ); ?>' /> 942 942 <label for='<?php echo esc_attr( $option ); ?>'> -
wp-admin/includes/template.php
function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single', 320 320 321 321 <div class="inside"> 322 322 <label for="author-email"><?php _e('E-mail') ?></label> 323 <input type=" text" name="newcomment_author_email" size="50" value="" tabindex="102" id="author-email" />323 <input type="email" name="newcomment_author_email" size="50" value="" tabindex="102" id="author-email" /> 324 324 </div> 325 325 326 326 <div class="inside"> 327 327 <label for="author-url"><?php _e('URL') ?></label> 328 <input type=" text" id="author-url" name="newcomment_author_url" size="103" value="" tabindex="103" />328 <input type="url" id="author-url" name="newcomment_author_url" size="103" value="" tabindex="103" /> 329 329 </div> 330 330 <div style="clear:both;"></div> 331 331 </div> … … function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) { 593 593 } 594 594 $month .= '</select>'; 595 595 596 $day = '<input type=" text" ' . ( $multi ? '' : 'id="jj" ' ) . 'name="jj" value="' . $jj . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';597 $year = '<input type=" text" ' . ( $multi ? '' : 'id="aa" ' ) . 'name="aa" value="' . $aa . '" size="4" maxlength="4"' . $tab_index_attribute . ' autocomplete="off" />';598 $hour = '<input type=" text" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';599 $minute = '<input type=" text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';596 $day = '<input type="number" ' . ( $multi ? '' : 'id="jj" ' ) . 'name="jj" value="' . $jj . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />'; 597 $year = '<input type="number" ' . ( $multi ? '' : 'id="aa" ' ) . 'name="aa" value="' . $aa . '" size="4" maxlength="4"' . $tab_index_attribute . ' autocomplete="off" />'; 598 $hour = '<input type="number" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />'; 599 $minute = '<input type="number" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />'; 600 600 601 601 echo '<div class="timestamp-wrap">'; 602 602 /* translators: 1: month input, 2: day input, 3: year input, 4: hour input, 5: minute input */ -
wp-admin/includes/theme-install.php
function install_theme_search_form() { 62 62 <option value="author" <?php selected('author', $type) ?>><?php _e('Author'); ?></option> 63 63 <option value="tag" <?php selected('tag', $type) ?>><?php _ex('Tag', 'Theme Installer'); ?></option> 64 64 </select> 65 <input type=" text" name="s" size="30" value="<?php echo esc_attr($term) ?>" />65 <input type="search" name="s" size="30" value="<?php echo esc_attr($term) ?>" /> 66 66 <?php submit_button( __( 'Search' ), 'button', 'search', false ); ?> 67 67 </form> 68 68 <?php -
wp-admin/network/settings.php
if ( isset( $_GET['updated'] ) ) { 267 267 <tr valign="top"> 268 268 <th scope="row"><label for="first_comment_url"><?php _e( 'First Comment URL' ) ?></label></th> 269 269 <td> 270 <input type=" text" size="40" name="first_comment_url" id="first_comment_url" value="<?php echo esc_attr( get_site_option( 'first_comment_url' ) ) ?>" />270 <input type="url" size="40" name="first_comment_url" id="first_comment_url" value="<?php echo esc_attr( get_site_option( 'first_comment_url' ) ) ?>" /> 271 271 <br /> 272 272 <?php _e( 'The URL for the first comment on a new site.' ) ?> 273 273 </td> -
wp-admin/network/site-users.php
endif; ?> 290 290 </tr> 291 291 <tr> 292 292 <th scope="row"><?php _e( 'Email' ) ?></th> 293 <td><input type=" text" class="regular-text" name="user[email]" /></td>293 <td><input type="email" class="regular-text" name="user[email]" /></td> 294 294 </tr> 295 295 <tr> 296 296 <th scope="row"><?php _e( 'Role'); ?></th> -
wp-admin/themes.php
if ( ! current_user_can( 'switch_themes' ) ) { 162 162 163 163 <p class="search-box"> 164 164 <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Installed Themes'); ?>:</label> 165 <input type=" text" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" />165 <input type="search" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 166 166 <?php submit_button( __( 'Search Installed Themes' ), 'button', false, false, array( 'id' => 'search-submit' ) ); ?> 167 167 <a id="filter-click" href="?filter=1"><?php _e( 'Feature Filter' ); ?></a> 168 168 </p> -
wp-admin/user-edit.php
if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c 333 333 <table class="form-table"> 334 334 <tr> 335 335 <th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 336 <td><input type=" text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />336 <td><input type="email" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" /> 337 337 <?php 338 338 $new_email = get_option( $current_user->ID . '_new_email' ); 339 339 if ( $new_email && $new_email != $current_user->user_email ) : ?> … … if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c 346 346 347 347 <tr> 348 348 <th><label for="url"><?php _e('Website') ?></label></th> 349 <td><input type=" text" name="url" id="url" value="<?php echo esc_attr($profileuser->user_url) ?>" class="regular-text code" /></td>349 <td><input type="url" name="url" id="url" value="<?php echo esc_attr($profileuser->user_url) ?>" class="regular-text code" /></td> 350 350 </tr> 351 351 352 352 <?php -
wp-content/themes/twentyeleven/searchform.php
9 9 ?> 10 10 <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>"> 11 11 <label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label> 12 <input type=" text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />12 <input type="search" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" /> 13 13 <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" /> 14 14 </form> -
wp-includes/class-wp-editor.php
final class _WP_Editors { 764 764 <div class="link-search-wrapper"> 765 765 <label> 766 766 <span><?php _e( 'Search' ); ?></span> 767 <input type=" text" id="search-field" class="link-search-field" tabindex="60" autocomplete="off" />767 <input type="search" id="search-field" class="link-search-field" tabindex="60" autocomplete="off" /> 768 768 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 769 769 </label> 770 770 </div> -
wp-includes/general-template.php
function get_search_form($echo = true) { 159 159 160 160 $form = '<form role="search" method="get" id="searchform" action="' . esc_url( home_url( '/' ) ) . '" > 161 161 <div><label class="screen-reader-text" for="s">' . __('Search for:') . '</label> 162 <input type=" text" value="' . get_search_query() . '" name="s" id="s" />162 <input type="search" value="' . get_search_query() . '" name="s" id="s" /> 163 163 <input type="submit" id="searchsubmit" value="'. esc_attr__('Search') .'" /> 164 164 </div> 165 165 </form>'; -
wp-includes/theme-compat/comments-popup.php
if ( post_password_required($post) ) { // and it doesn't match the cookie 76 76 </p> 77 77 78 78 <p> 79 <input type=" text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="28" tabindex="2" />79 <input type="email" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="28" tabindex="2" /> 80 80 <label for="email"><?php _e('E-mail'); ?></label> 81 81 </p> 82 82 83 83 <p> 84 <input type=" text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="28" tabindex="3" />84 <input type="url" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="28" tabindex="3" /> 85 85 <label for="url"><?php _e('<abbr title="Universal Resource Locator">URL</abbr>'); ?></label> 86 86 </p> 87 87 <?php endif; ?> -
wp-includes/theme-compat/comments.php
_deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3. 76 76 <p><input type="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> /> 77 77 <label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></small></label></p> 78 78 79 <p><input type=" text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />79 <p><input type="email" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /> 80 80 <label for="email"><small><?php _e('Mail (will not be published)'); ?> <?php if ($req) _e('(required)'); ?></small></label></p> 81 81 82 <p><input type=" text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" />82 <p><input type="url" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" /> 83 83 <label for="url"><small><?php _e('Website'); ?></small></label></p> 84 84 85 85 <?php endif; ?>