Make WordPress Core

Ticket #21340: 21340-3.patch

File 21340-3.patch, 48.3 KB (added by azaozz, 12 years ago)
  • wp-admin/edit-form-advanced.php

     
    283283<div id="titlediv">
    284284<div id="titlewrap">
    285285        <label class="hide-if-no-js" style="visibility:hidden" id="title-prompt-text" for="title"><?php echo apply_filters( 'enter_title_here', __( 'Enter title here' ), $post ); ?></label>
    286         <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
     286        <input type="text" name="post_title" size="30" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
    287287</div>
    288288<div class="inside">
    289289<?php
     
    312312<?php if ( post_type_supports($post_type, 'editor') ) { ?>
    313313<div id="postdivrich" class="postarea">
    314314
    315 <?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabindex' => 1, 'tabfocus_elements' => 'sample-permalink,post-preview') ); ?>
     315<?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabfocus_elements' => 'sample-permalink,post-preview') ); ?>
    316316
    317317<table id="post-status-info" cellspacing="0"><tbody><tr>
    318318        <td id="wp-word-count"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>
     
    378378        wp_comment_reply();
    379379?>
    380380
    381 <?php if ((isset($post->post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message'])) : ?>
     381<?php if ( (isset($post->post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message']) ) : ?>
    382382<script type="text/javascript">
    383383try{document.post.title.focus();}catch(e){}
    384384</script>
  • wp-admin/edit-form-comment.php

     
    3131<tbody>
    3232<tr valign="top">
    3333        <td class="first"><?php _e( 'Name:' ); ?></td>
    34         <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" tabindex="1" id="name" /></td>
     34        <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
    3535</tr>
    3636<tr valign="top">
    3737        <td class="first">
     
    4242                        _e( 'E-mail:' );
    4343                }
    4444?></td>
    45         <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></td>
     45        <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" /></td>
    4646</tr>
    4747<tr valign="top">
    4848        <td class="first">
     
    5353                } else {
    5454                        _e( 'URL:' );
    5555                } ?></td>
    56         <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>
     56        <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); ?>" /></td>
    5757</tr>
    5858</tbody>
    5959</table>
     
    9898$stamp = __('Submitted on: <b>%1$s</b>');
    9999$date = date_i18n( $datef, strtotime( $comment->comment_date ) );
    100100?>
    101 <span id="timestamp"><?php printf($stamp, $date); ?></span>&nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
    102 <div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0, 5); ?></div>
     101<span id="timestamp"><?php printf($stamp, $date); ?></span>&nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><?php _e('Edit') ?></a>
     102<div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0); ?></div>
    103103</div>
    104104</div> <!-- misc actions -->
    105105<div class="clear"></div>
     
    110110<?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url("comment.php?action=" . ( !EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&amp;c=$comment->comment_ID&amp;_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "</a>\n"; ?>
    111111</div>
    112112<div id="publishing-action">
    113 <?php submit_button( __( 'Update' ), 'primary', 'save', false, array( 'tabindex' => '4' ) ); ?>
     113<?php submit_button( __( 'Update' ), 'primary', 'save', false ); ?>
    114114</div>
    115115<div class="clear"></div>
    116116</div>
  • wp-admin/edit-link-form.php

     
    8282<div id="namediv" class="stuffbox">
    8383<h3><label for="link_name"><?php _ex('Name', 'link name') ?></label></h3>
    8484<div class="inside">
    85         <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" />
     85        <input type="text" name="link_name" size="30" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" />
    8686    <p><?php _e('Example: Nifty blogging software'); ?></p>
    8787</div>
    8888</div>
     
    9090<div id="addressdiv" class="stuffbox">
    9191<h3><label for="link_url"><?php _e('Web Address') ?></label></h3>
    9292<div class="inside">
    93         <input type="text" name="link_url" size="30" class="code" tabindex="1" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" />
     93        <input type="text" name="link_url" size="30" class="code" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" />
    9494    <p><?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?></p>
    9595</div>
    9696</div>
     
    9898<div id="descriptiondiv" class="stuffbox">
    9999<h3><label for="link_description"><?php _e('Description') ?></label></h3>
    100100<div class="inside">
    101         <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo isset($link->link_description) ? esc_attr($link->link_description) : ''; ?>" id="link_description" />
     101        <input type="text" name="link_description" size="30" value="<?php echo isset($link->link_description) ? esc_attr($link->link_description) : ''; ?>" id="link_description" />
    102102    <p><?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?></p>
    103103</div>
    104104</div>
  • wp-admin/edit-tag-form.php

     
    9191?>
    9292</form>
    9393</div>
     94<script type="text/javascript">
     95try{document.forms.edittag.name.focus();}catch(e){}
     96</script>
  • wp-admin/edit-tags.php

     
    408408
    409409</div><!-- /col-container -->
    410410</div><!-- /wrap -->
    411 
     411<script type="text/javascript">
     412try{document.forms.addtag['tag-name'].focus();}catch(e){}
     413</script>
    412414<?php $wp_list_table->inline_edit(); ?>
    413415
    414416<?php
  • wp-admin/includes/class-wp-posts-list-table.php

     
    754754        <?php if ( !$bulk ) : ?>
    755755                        <label><span class="title"><?php _e( 'Date' ); ?></span></label>
    756756                        <div class="inline-edit-date">
    757                                 <?php touch_time( 1, 1, 4, 1 ); ?>
     757                                <?php touch_time( 1, 1, 0, 1 ); ?>
    758758                        </div>
    759759                        <br class="clear" />
    760760        <?php endif; // $bulk
  • wp-admin/includes/class-wp-theme-install-list-table.php

     
    237237                                <?php foreach ( $actions as $action ): ?>
    238238                                        <li><?php echo $action; ?></li>
    239239                                <?php endforeach; ?>
    240                                 <li class="hide-if-no-js"><a href="#" class="theme-detail" tabindex='4'><?php _e('Details') ?></a></li>
     240                                <li class="hide-if-no-js"><a href="#" class="theme-detail"><?php _e('Details') ?></a></li>
    241241                        </ul>
    242242                </div>
    243243
  • wp-admin/includes/class-wp-themes-list-table.php

     
    171171                                        <?php foreach ( $actions as $action ): ?>
    172172                                                <li><?php echo $action; ?></li>
    173173                                        <?php endforeach; ?>
    174                                         <li class="hide-if-no-js"><a href="#" class="theme-detail" tabindex='4'><?php _e('Details') ?></a></li>
     174                                        <li class="hide-if-no-js"><a href="#" class="theme-detail"><?php _e('Details') ?></a></li>
    175175                                </ul>
    176176                                <?php echo $delete_action; ?>
    177177
  • wp-admin/includes/dashboard.php

     
    505505        <form name="post" action="<?php echo esc_url( admin_url( 'post.php' ) ); ?>" method="post" id="quick-press">
    506506                <h4 id="quick-post-title"><label for="title"><?php _e('Title') ?></label></h4>
    507507                <div class="input-text-wrap">
    508                         <input type="text" name="post_title" id="title" tabindex="1" autocomplete="off" value="<?php echo esc_attr( $post->post_title ); ?>" />
     508                        <input type="text" name="post_title" id="title" autocomplete="off" value="<?php echo esc_attr( $post->post_title ); ?>" />
    509509                </div>
    510510
    511511                <?php if ( current_user_can( 'upload_files' ) ) : ?>
     
    516516
    517517                <h4 id="content-label"><label for="content"><?php _e('Content') ?></label></h4>
    518518                <div class="textarea-wrap">
    519                         <textarea name="content" id="content" class="mceEditor" rows="3" cols="15" tabindex="2"><?php echo esc_textarea( $post->post_content ); ?></textarea>
     519                        <textarea name="content" id="content" class="mceEditor" rows="3" cols="15"><?php echo esc_textarea( $post->post_content ); ?></textarea>
    520520                </div>
    521521
    522522                <script type="text/javascript">edCanvas = document.getElementById('content');edInsertContent = null;</script>
    523523
    524524                <h4><label for="tags-input"><?php _e('Tags') ?></label></h4>
    525525                <div class="input-text-wrap">
    526                         <input type="text" name="tags_input" id="tags-input" tabindex="3" value="<?php echo get_tags_to_edit( $post->ID ); ?>" />
     526                        <input type="text" name="tags_input" id="tags-input" value="<?php echo get_tags_to_edit( $post->ID ); ?>" />
    527527                </div>
    528528
    529529                <p class="submit">
     
    531531                        <input type="hidden" name="post_ID" value="<?php echo $post_ID; ?>" />
    532532                        <input type="hidden" name="post_type" value="post" />
    533533                        <?php wp_nonce_field('add-post'); ?>
    534                         <?php submit_button( __( 'Save Draft' ), 'button', 'save', false, array( 'id' => 'save-post', 'tabindex'=> 4 ) ); ?>
     534                        <?php submit_button( __( 'Save Draft' ), 'button', 'save', false, array( 'id' => 'save-post' ) ); ?>
    535535                        <input type="reset" value="<?php esc_attr_e( 'Reset' ); ?>" class="button" />
    536536                        <span id="publishing-action">
    537                                 <input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" class="button-primary" value="<?php current_user_can('publish_posts') ? esc_attr_e('Publish') : esc_attr_e('Submit for Review'); ?>" />
     537                                <input type="submit" name="publish" id="publish" accesskey="p" class="button-primary" value="<?php current_user_can('publish_posts') ? esc_attr_e('Publish') : esc_attr_e('Submit for Review'); ?>" />
    538538                                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
    539539                        </span>
    540540                        <br class="clear" />
  • wp-admin/includes/meta-boxes.php

     
    2828<div id="minor-publishing-actions">
    2929<div id="save-action">
    3030<?php if ( 'publish' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status ) { ?>
    31 <input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save Draft'); ?>" tabindex="4" class="button button-highlighted" />
     31<input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save Draft'); ?>" class="button button-highlighted" />
    3232<?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?>
    33 <input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" tabindex="4" class="button button-highlighted" />
     33<input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" class="button button-highlighted" />
    3434<?php } ?>
    3535<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="draft-ajax-loading" alt="" />
    3636</div>
     
    4848        $preview_button = __( 'Preview' );
    4949}
    5050?>
    51 <a class="preview button" href="<?php echo $preview_link; ?>" target="wp-preview" id="post-preview" tabindex="4"><?php echo $preview_button; ?></a>
     51<a class="preview button" href="<?php echo $preview_link; ?>" target="wp-preview" id="post-preview"><?php echo $preview_button; ?></a>
    5252<input type="hidden" name="wp-preview" id="wp-preview" value="" />
    5353</div>
    5454<?php endif; // public post type ?>
     
    8181?>
    8282</span>
    8383<?php if ( 'publish' == $post->post_status || 'private' == $post->post_status || $can_publish ) { ?>
    84 <a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
     84<a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js"><?php _e('Edit') ?></a>
    8585
    8686<div id="post-status-select" class="hide-if-js">
    8787<input type="hidden" name="hidden_post_status" id="hidden_post_status" value="<?php echo esc_attr( ('auto-draft' == $post->post_status ) ? 'draft' : $post->post_status); ?>" />
    88 <select name='post_status' id='post_status' tabindex='4'>
     88<select name='post_status' id='post_status'>
    8989<?php if ( 'publish' == $post->post_status ) : ?>
    9090<option<?php selected( $post->post_status, 'publish' ); ?> value='publish'><?php _e('Published') ?></option>
    9191<?php elseif ( 'private' == $post->post_status ) : ?>
     
    137137<input type="hidden" name="hidden_post_visibility" id="hidden-post-visibility" value="<?php echo esc_attr( $visibility ); ?>" />
    138138<input type="radio" name="visibility" id="visibility-radio-public" value="public" <?php checked( $visibility, 'public' ); ?> /> <label for="visibility-radio-public" class="selectit"><?php _e('Public'); ?></label><br />
    139139<?php if ( $post_type == 'post' && current_user_can( 'edit_others_posts' ) ) : ?>
    140 <span id="sticky-span"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked( is_sticky( $post->ID ) ); ?> tabindex="4" /> <label for="sticky" class="selectit"><?php _e( 'Stick this post to the front page' ); ?></label><br /></span>
     140<span id="sticky-span"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked( is_sticky( $post->ID ) ); ?> /> <label for="sticky" class="selectit"><?php _e( 'Stick this post to the front page' ); ?></label><br /></span>
    141141<?php endif; ?>
    142142<input type="radio" name="visibility" id="visibility-radio-password" value="password" <?php checked( $visibility, 'password' ); ?> /> <label for="visibility-radio-password" class="selectit"><?php _e('Password protected'); ?></label><br />
    143143<span id="password-span"><label for="post_password"><?php _e('Password:'); ?></label> <input type="text" name="post_password" id="post_password" value="<?php echo esc_attr($post->post_password); ?>" /><br /></span>
     
    177177<div class="misc-pub-section curtime">
    178178        <span id="timestamp">
    179179        <?php printf($stamp, $date); ?></span>
    180         <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
    181         <div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'),1,4); ?></div>
     180        <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><?php _e('Edit') ?></a>
     181        <div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'), 1); ?></div>
    182182</div><?php // /misc-pub-section ?>
    183183<?php endif; ?>
    184184
     
    208208        if ( $can_publish ) :
    209209                if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?>
    210210                <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Schedule') ?>" />
    211                 <?php submit_button( __( 'Schedule' ), 'primary', 'publish', false, array( 'tabindex' => '5', 'accesskey' => 'p' ) ); ?>
     211                <?php submit_button( __( 'Schedule' ), 'primary', 'publish', false, array( 'accesskey' => 'p' ) ); ?>
    212212<?php   else : ?>
    213213                <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Publish') ?>" />
    214                 <?php submit_button( __( 'Publish' ), 'primary', 'publish', false, array( 'tabindex' => '5', 'accesskey' => 'p' ) ); ?>
     214                <?php submit_button( __( 'Publish' ), 'primary', 'publish', false, array( 'accesskey' => 'p' ) ); ?>
    215215<?php   endif;
    216216        else : ?>
    217217                <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Submit for Review') ?>" />
    218                 <?php submit_button( __( 'Submit for Review' ), 'primary', 'publish', false, array( 'tabindex' => '5', 'accesskey' => 'p' ) ); ?>
     218                <?php submit_button( __( 'Submit for Review' ), 'primary', 'publish', false, array( 'accesskey' => 'p' ) ); ?>
    219219<?php
    220220        endif;
    221221} else { ?>
    222222                <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Update') ?>" />
    223                 <input name="save" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php esc_attr_e('Update') ?>" />
     223                <input name="save" type="submit" class="button-primary" id="publish" accesskey="p" value="<?php esc_attr_e('Update') ?>" />
    224224<?php
    225225} ?>
    226226</div>
     
    288288                <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label>
    289289                <div class="taghint"><?php echo $taxonomy->labels->add_new_item; ?></div>
    290290                <p><input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
    291                 <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" tabindex="3" /></p>
     291                <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" /></p>
    292292        </div>
    293293        <p class="howto"><?php echo esc_attr( $taxonomy->labels->separate_items_with_commas ); ?></p>
    294294        <?php endif; ?>
     
    320320        ?>
    321321        <div id="taxonomy-<?php echo $taxonomy; ?>" class="categorydiv">
    322322                <ul id="<?php echo $taxonomy; ?>-tabs" class="category-tabs">
    323                         <li class="tabs"><a href="#<?php echo $taxonomy; ?>-all" tabindex="3"><?php echo $tax->labels->all_items; ?></a></li>
    324                         <li class="hide-if-no-js"><a href="#<?php echo $taxonomy; ?>-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li>
     323                        <li class="tabs"><a href="#<?php echo $taxonomy; ?>-all"><?php echo $tax->labels->all_items; ?></a></li>
     324                        <li class="hide-if-no-js"><a href="#<?php echo $taxonomy; ?>-pop"><?php _e( 'Most Used' ); ?></a></li>
    325325                </ul>
    326326
    327327                <div id="<?php echo $taxonomy; ?>-pop" class="tabs-panel" style="display: none;">
     
    342342        <?php if ( current_user_can($tax->cap->edit_terms) ) : ?>
    343343                        <div id="<?php echo $taxonomy; ?>-adder" class="wp-hidden-children">
    344344                                <h4>
    345                                         <a id="<?php echo $taxonomy; ?>-add-toggle" href="#<?php echo $taxonomy; ?>-add" class="hide-if-no-js" tabindex="3">
     345                                        <a id="<?php echo $taxonomy; ?>-add-toggle" href="#<?php echo $taxonomy; ?>-add" class="hide-if-no-js">
    346346                                                <?php
    347347                                                        /* translators: %s: add new taxonomy label */
    348348                                                        printf( __( '+ %s' ), $tax->labels->add_new_item );
     
    351351                                </h4>
    352352                                <p id="<?php echo $taxonomy; ?>-add" class="category-add wp-hidden-child">
    353353                                        <label class="screen-reader-text" for="new<?php echo $taxonomy; ?>"><?php echo $tax->labels->add_new_item; ?></label>
    354                                         <input type="text" name="new<?php echo $taxonomy; ?>" id="new<?php echo $taxonomy; ?>" class="form-required form-input-tip" value="<?php echo esc_attr( $tax->labels->new_item_name ); ?>" tabindex="3" aria-required="true"/>
     354                                        <input type="text" name="new<?php echo $taxonomy; ?>" id="new<?php echo $taxonomy; ?>" class="form-required form-input-tip" value="<?php echo esc_attr( $tax->labels->new_item_name ); ?>" aria-required="true"/>
    355355                                        <label class="screen-reader-text" for="new<?php echo $taxonomy; ?>_parent">
    356356                                                <?php echo $tax->labels->parent_item_colon; ?>
    357357                                        </label>
    358                                         <?php wp_dropdown_categories( array( 'taxonomy' => $taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;', 'tab_index' => 3 ) ); ?>
    359                                         <input type="button" id="<?php echo $taxonomy; ?>-add-submit" class="add:<?php echo $taxonomy ?>checklist:<?php echo $taxonomy ?>-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" />
     358                                        <?php wp_dropdown_categories( array( 'taxonomy' => $taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;' ) ); ?>
     359                                        <input type="button" id="<?php echo $taxonomy; ?>-add-submit" class="add:<?php echo $taxonomy ?>checklist:<?php echo $taxonomy ?>-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" />
    360360                                        <?php wp_nonce_field( 'add-'.$taxonomy, '_ajax_nonce-add-'.$taxonomy, false ); ?>
    361361                                        <span id="<?php echo $taxonomy; ?>-ajax-response"></span>
    362362                                </p>
     
    375375 */
    376376function post_excerpt_meta_box($post) {
    377377?>
    378 <label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea>
     378<label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea>
    379379<p><?php _e('Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="http://codex.wordpress.org/Excerpt" target="_blank">Learn more about manual excerpts.</a>'); ?></p>
    380380<?php
    381381}
     
    388388 * @param object $post
    389389 */
    390390function post_trackback_meta_box($post) {
    391         $form_trackback = '<input type="text" name="trackback_url" id="trackback_url" class="code" tabindex="7" value="'. esc_attr( str_replace("\n", ' ', $post->to_ping) ) .'" />';
     391        $form_trackback = '<input type="text" name="trackback_url" id="trackback_url" class="code" value="'. esc_attr( str_replace("\n", ' ', $post->to_ping) ) .'" />';
    392392        if ('' != $post->pinged) {
    393393                $pings = '<p>'. __('Already pinged:') . '</p><ul>';
    394394                $already_pinged = explode("\n", trim($post->pinged));
     
    613613<div id="minor-publishing-actions">
    614614<div id="preview-action">
    615615<?php if ( !empty($link->link_id) ) { ?>
    616         <a class="preview button" href="<?php echo $link->link_url; ?>" target="_blank" tabindex="4"><?php _e('Visit Link'); ?></a>
     616        <a class="preview button" href="<?php echo $link->link_url; ?>" target="_blank"><?php _e('Visit Link'); ?></a>
    617617<?php } ?>
    618618</div>
    619619<div class="clear"></div>
     
    638638
    639639<div id="publishing-action">
    640640<?php if ( !empty($link->link_id) ) { ?>
    641         <input name="save" type="submit" class="button-primary" id="publish" tabindex="4" accesskey="p" value="<?php esc_attr_e('Update Link') ?>" />
     641        <input name="save" type="submit" class="button-primary" id="publish" accesskey="p" value="<?php esc_attr_e('Update Link') ?>" />
    642642<?php } else { ?>
    643         <input name="save" type="submit" class="button-primary" id="publish" tabindex="4" accesskey="p" value="<?php esc_attr_e('Add Link') ?>" />
     643        <input name="save" type="submit" class="button-primary" id="publish" accesskey="p" value="<?php esc_attr_e('Add Link') ?>" />
    644644<?php } ?>
    645645</div>
    646646<div class="clear"></div>
  • wp-admin/includes/template.php

     
    332332        <div id="edithead" style="display:none;">
    333333                <div class="inside">
    334334                <label for="author"><?php _e('Name') ?></label>
    335                 <input type="text" name="newcomment_author" size="50" value="" tabindex="101" id="author" />
     335                <input type="text" name="newcomment_author" size="50" value="" id="author" />
    336336                </div>
    337337
    338338                <div class="inside">
    339339                <label for="author-email"><?php _e('E-mail') ?></label>
    340                 <input type="text" name="newcomment_author_email" size="50" value="" tabindex="102" id="author-email" />
     340                <input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
    341341                </div>
    342342
    343343                <div class="inside">
    344344                <label for="author-url"><?php _e('URL') ?></label>
    345                 <input type="text" id="author-url" name="newcomment_author_url" size="103" value="" tabindex="103" />
     345                <input type="text" id="author-url" name="newcomment_author_url" size="103" value="" />
    346346                </div>
    347347                <div style="clear:both;"></div>
    348348        </div>
     
    350350        <div id="replycontainer">
    351351        <?php
    352352        $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close' );
    353         wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings, 'tabindex' => 104 ) );
     353        wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) );
    354354        ?>
    355355        </div>
    356356
    357357        <p id="replysubmit" class="submit">
    358         <a href="#comments-form" class="cancel button-secondary alignleft" tabindex="106"><?php _e('Cancel'); ?></a>
    359         <a href="#comments-form" class="save button-primary alignright" tabindex="104">
     358        <a href="#comments-form" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a>
     359        <a href="#comments-form" class="save button-primary alignright">
    360360        <span id="addbtn" style="display:none;"><?php _e('Add Comment'); ?></span>
    361361        <span id="savebtn" style="display:none;"><?php _e('Update Comment'); ?></span>
    362362        <span id="replybtn" style="display:none;"><?php _e('Submit Reply'); ?></span></a>
     
    489489        $delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] );
    490490
    491491        $r .= "\n\t<tr id='meta-{$entry['meta_id']}' class='$style'>";
    492         $r .= "\n\t\t<td class='left'><label class='screen-reader-text' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' />";
     492        $r .= "\n\t\t<td class='left'><label class='screen-reader-text' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' type='text' size='20' value='{$entry['meta_key']}' />";
    493493
    494494        $r .= "\n\t\t<div class='submit'>";
    495         $r .= get_submit_button( __( 'Delete' ), "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta", "deletemeta[{$entry['meta_id']}]", false, array( 'tabindex' => '6' ) );
     495        $r .= get_submit_button( __( 'Delete' ), "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta", "deletemeta[{$entry['meta_id']}]", false );
    496496        $r .= "\n\t\t";
    497         $r .= get_submit_button( __( 'Update' ), "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta" , 'updatemeta', false, array( 'tabindex' => '6' ) );
     497        $r .= get_submit_button( __( 'Update' ), "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta" , 'updatemeta', false );
    498498        $r .= "</div>";
    499499        $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false );
    500500        $r .= "</td>";
    501501
    502         $r .= "\n\t\t<td><label class='screen-reader-text' for='meta[{$entry['meta_id']}][value]'>" . __( 'Value' ) . "</label><textarea name='meta[{$entry['meta_id']}][value]' id='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>\n\t</tr>";
     502        $r .= "\n\t\t<td><label class='screen-reader-text' for='meta[{$entry['meta_id']}][value]'>" . __( 'Value' ) . "</label><textarea name='meta[{$entry['meta_id']}][value]' id='meta[{$entry['meta_id']}][value]' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>\n\t</tr>";
    503503        return $r;
    504504}
    505505
     
    534534<tr>
    535535<td id="newmetaleft" class="left">
    536536<?php if ( $keys ) { ?>
    537 <select id="metakeyselect" name="metakeyselect" tabindex="7">
     537<select id="metakeyselect" name="metakeyselect">
    538538<option value="#NONE#"><?php _e( '&mdash; Select &mdash;' ); ?></option>
    539539<?php
    540540
     
    543543        }
    544544?>
    545545</select>
    546 <input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" />
     546<input class="hide-if-js" type="text" id="metakeyinput" name="metakeyinput" value="" />
    547547<a href="#postcustomstuff" class="hide-if-no-js" onclick="jQuery('#metakeyinput, #metakeyselect, #enternew, #cancelnew').toggle();return false;">
    548548<span id="enternew"><?php _e('Enter new'); ?></span>
    549549<span id="cancelnew" class="hidden"><?php _e('Cancel'); ?></span></a>
    550550<?php } else { ?>
    551 <input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" value="" />
     551<input type="text" id="metakeyinput" name="metakeyinput" value="" />
    552552<?php } ?>
    553553</td>
    554 <td><textarea id="metavalue" name="metavalue" rows="2" cols="25" tabindex="8"></textarea></td>
     554<td><textarea id="metavalue" name="metavalue" rows="2" cols="25"></textarea></td>
    555555</tr>
    556556
    557557<tr><td colspan="2" class="submit">
    558 <?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta', 'addmeta', false, array( 'id' => 'addmetasub', 'tabindex' => '9' ) ); ?>
     558<?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta', 'addmeta', false, array( 'id' => 'addmetasub' ) ); ?>
    559559<?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?>
    560560</td></tr>
    561561</tbody>
  • wp-admin/menu-header.php

     
    4141        foreach ( $menu as $key => $item ) {
    4242                $admin_is_parent = false;
    4343                $class = array();
    44                 $aria_attributes = 'tabindex="1"';
     44                $aria_attributes = '';
    4545
    4646                if ( $first ) {
    4747                        $class[] = 'wp-first-item';
     
    5959                } else {
    6060                        $class[] = 'wp-not-current-submenu';
    6161                        if ( ! empty( $submenu_items ) )
    62                                 $aria_attributes .= ' aria-haspopup="true"';
     62                                $aria_attributes .= 'aria-haspopup="true"';
    6363                }
    6464
    6565                if ( ! empty( $item[4] ) )
     
    112112                                if ( ! current_user_can( $sub_item[1] ) )
    113113                                        continue;
    114114
    115                                 $aria_attributes = 'tabindex="1"';
    116115                                $class = array();
    117116                                if ( $first ) {
    118117                                        $class[] = 'wp-first-item';
     
    156155                                                $sub_item_url = add_query_arg( array('page' => $sub_item[2]), 'admin.php' );
    157156
    158157                                        $sub_item_url = esc_url( $sub_item_url );
    159                                         echo "<li$class><a href='$sub_item_url'$class $aria_attributes>$title</a></li>";
     158                                        echo "<li$class><a href='$sub_item_url'$class>$title</a></li>";
    160159                                } else {
    161                                         echo "<li$class><a href='{$sub_item[2]}'$class $aria_attributes>$title</a></li>";
     160                                        echo "<li$class><a href='{$sub_item[2]}'$class>$title</a></li>";
    162161                                }
    163162                        }
    164163                        echo "</ul></div></div>";
  • wp-admin/plugin-editor.php

     
    226226</div>
    227227<form name="template" id="template" action="plugin-editor.php" method="post">
    228228        <?php wp_nonce_field('edit-plugin_' . $file) ?>
    229                 <div><textarea cols="70" rows="25" name="newcontent" id="newcontent" tabindex="1"><?php echo $content ?></textarea>
     229                <div><textarea cols="70" rows="25" name="newcontent" id="newcontent"><?php echo $content ?></textarea>
    230230                <input type="hidden" name="action" value="update" />
    231231                <input type="hidden" name="file" value="<?php echo esc_attr($file) ?>" />
    232232                <input type="hidden" name="plugin" value="<?php echo esc_attr($plugin) ?>" />
     
    243243        <?php
    244244                if ( isset($_GET['phperror']) ) {
    245245                        echo "<input type='hidden' name='phperror' value='1' />";
    246                         submit_button( __( 'Update File and Attempt to Reactivate' ), 'primary', 'submit', false, array( 'tabindex' => '2' ) );
     246                        submit_button( __( 'Update File and Attempt to Reactivate' ), 'primary', 'submit', false );
    247247                } else {
    248                         submit_button( __( 'Update File' ), 'primary', 'submit', false, array( 'tabindex' => '2' ) );
     248                        submit_button( __( 'Update File' ), 'primary', 'submit', false );
    249249                }
    250250        ?>
    251251        </p>
  • wp-admin/press-this.php

     
    495495                                <div id="taxonomy-category" class="categorydiv">
    496496
    497497                                        <ul id="category-tabs" class="category-tabs">
    498                                                 <li class="tabs"><a href="#category-all" tabindex="3"><?php echo $tax->labels->all_items; ?></a></li>
    499                                                 <li class="hide-if-no-js"><a href="#category-pop" tabindex="3"><?php _e( 'Most Used' ); ?></a></li>
     498                                                <li class="tabs"><a href="#category-all"><?php echo $tax->labels->all_items; ?></a></li>
     499                                                <li class="hide-if-no-js"><a href="#category-pop"><?php _e( 'Most Used' ); ?></a></li>
    500500                                        </ul>
    501501
    502502                                        <div id="category-pop" class="tabs-panel" style="display: none;">
     
    517517                                        <?php if ( current_user_can($tax->cap->edit_terms) ) : ?>
    518518                                                <div id="category-adder" class="wp-hidden-children">
    519519                                                        <h4>
    520                                                                 <a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3">
     520                                                                <a id="category-add-toggle" href="#category-add" class="hide-if-no-js">
    521521                                                                        <?php printf( __( '+ %s' ), $tax->labels->add_new_item ); ?>
    522522                                                                </a>
    523523                                                        </h4>
    524524                                                        <p id="category-add" class="category-add wp-hidden-child">
    525525                                                                <label class="screen-reader-text" for="newcategory"><?php echo $tax->labels->add_new_item; ?></label>
    526                                                                 <input type="text" name="newcategory" id="newcategory" class="form-required form-input-tip" value="<?php echo esc_attr( $tax->labels->new_item_name ); ?>" tabindex="3" aria-required="true"/>
     526                                                                <input type="text" name="newcategory" id="newcategory" class="form-required form-input-tip" value="<?php echo esc_attr( $tax->labels->new_item_name ); ?>" aria-required="true"/>
    527527                                                                <label class="screen-reader-text" for="newcategory_parent">
    528528                                                                        <?php echo $tax->labels->parent_item_colon; ?>
    529529                                                                </label>
    530                                                                 <?php wp_dropdown_categories( array( 'taxonomy' => 'category', 'hide_empty' => 0, 'name' => 'newcategory_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;', 'tab_index' => 3 ) ); ?>
    531                                                                 <input type="button" id="category-add-submit" class="add:categorychecklist:category-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" tabindex="3" />
     530                                                                <?php wp_dropdown_categories( array( 'taxonomy' => 'category', 'hide_empty' => 0, 'name' => 'newcategory_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;' ) ); ?>
     531                                                                <input type="button" id="category-add-submit" class="add:categorychecklist:category-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" />
    532532                                                                <?php wp_nonce_field( 'add-category', '_ajax_nonce-add-category', false ); ?>
    533533                                                                <span id="category-ajax-response"></span>
    534534                                                        </p>
     
    548548                                                        <input type="hidden" name="tax_input[post_tag]" class="the-tags" id="tax-input[post_tag]" value="" />
    549549                                                        <div class="ajaxtag">
    550550                                                                <input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
    551                                                                 <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" tabindex="3" />
     551                                                                <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" />
    552552                                                        </div>
    553553                                                </div>
    554554                                                <div class="tagchecklist"></div>
  • wp-admin/theme-editor.php

     
    198198else : ?>
    199199        <form name="template" id="template" action="theme-editor.php" method="post">
    200200        <?php wp_nonce_field( 'edit-theme_' . $file . $stylesheet ); ?>
    201                  <div><textarea cols="70" rows="30" name="newcontent" id="newcontent" tabindex="1"><?php echo $content ?></textarea>
     201                 <div><textarea cols="70" rows="30" name="newcontent" id="newcontent"><?php echo $content ?></textarea>
    202202                 <input type="hidden" name="action" value="update" />
    203203                 <input type="hidden" name="file" value="<?php echo esc_attr( $relative_file ); ?>" />
    204204                 <input type="hidden" name="theme" value="<?php echo esc_attr( $theme->get_stylesheet() ); ?>" />
     
    219219                <?php endif; ?>
    220220<?php
    221221        if ( is_writeable( $file ) ) :
    222                 submit_button( __( 'Update File' ), 'primary', 'submit', true, array( 'tabindex' => '2' ) );
     222                submit_button( __( 'Update File' ), 'primary', 'submit', true );
    223223        else : ?>
    224224<p><em><?php _e('You need to make this file writable before you can save your changes. See <a href="http://codex.wordpress.org/Changing_File_Permissions">the Codex</a> for more information.'); ?></em></p>
    225225<?php endif; ?>
  • wp-includes/class-wp-editor.php

     
    769769                <div id="link-options">
    770770                        <p class="howto"><?php _e( 'Enter the destination URL' ); ?></p>
    771771                        <div>
    772                                 <label><span><?php _e( 'URL' ); ?></span><input id="url-field" type="text" tabindex="10" name="href" /></label>
     772                                <label><span><?php _e( 'URL' ); ?></span><input id="url-field" type="text" name="href" /></label>
    773773                        </div>
    774774                        <div>
    775                                 <label><span><?php _e( 'Title' ); ?></span><input id="link-title-field" type="text" tabindex="20" name="linktitle" /></label>
     775                                <label><span><?php _e( 'Title' ); ?></span><input id="link-title-field" type="text" name="linktitle" /></label>
    776776                        </div>
    777777                        <div class="link-target">
    778                                 <label><input type="checkbox" id="link-target-checkbox" tabindex="30" /> <?php _e( 'Open link in a new window/tab' ); ?></label>
     778                                <label><input type="checkbox" id="link-target-checkbox" /> <?php _e( 'Open link in a new window/tab' ); ?></label>
    779779                        </div>
    780780                </div>
    781781                <?php $show_internal = '1' == get_user_setting( 'wplink', '0' ); ?>
     
    784784                        <div class="link-search-wrapper">
    785785                                <label>
    786786                                        <span><?php _e( 'Search' ); ?></span>
    787                                         <input type="search" id="search-field" class="link-search-field" tabindex="60" autocomplete="off" />
     787                                        <input type="search" id="search-field" class="link-search-field" autocomplete="off" />
    788788                                        <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
    789789                                </label>
    790790                        </div>
     
    808808                        <a class="submitdelete deletion" href="#"><?php _e( 'Cancel' ); ?></a>
    809809                </div>
    810810                <div id="wp-link-update">
    811                         <input type="submit" tabindex="100" value="<?php esc_attr_e( 'Add Link' ); ?>" class="button-primary" id="wp-link-submit" name="wp-link-submit">
     811                        <input type="submit" value="<?php esc_attr_e( 'Add Link' ); ?>" class="button-primary" id="wp-link-submit" name="wp-link-submit">
    812812                </div>
    813813        </div>
    814814        </form>
  • wp-includes/general-template.php

     
    274274                        ' . apply_filters( 'login_form_top', '', $args ) . '
    275275                        <p class="login-username">
    276276                                <label for="' . esc_attr( $args['id_username'] ) . '">' . esc_html( $args['label_username'] ) . '</label>
    277                                 <input type="text" name="log" id="' . esc_attr( $args['id_username'] ) . '" class="input" value="' . esc_attr( $args['value_username'] ) . '" size="20" tabindex="10" />
     277                                <input type="text" name="log" id="' . esc_attr( $args['id_username'] ) . '" class="input" value="' . esc_attr( $args['value_username'] ) . '" size="20" />
    278278                        </p>
    279279                        <p class="login-password">
    280280                                <label for="' . esc_attr( $args['id_password'] ) . '">' . esc_html( $args['label_password'] ) . '</label>
    281                                 <input type="password" name="pwd" id="' . esc_attr( $args['id_password'] ) . '" class="input" value="" size="20" tabindex="20" />
     281                                <input type="password" name="pwd" id="' . esc_attr( $args['id_password'] ) . '" class="input" value="" size="20" />
    282282                        </p>
    283283                        ' . apply_filters( 'login_form_middle', '', $args ) . '
    284                         ' . ( $args['remember'] ? '<p class="login-remember"><label><input name="rememberme" type="checkbox" id="' . esc_attr( $args['id_remember'] ) . '" value="forever" tabindex="90"' . ( $args['value_remember'] ? ' checked="checked"' : '' ) . ' /> ' . esc_html( $args['label_remember'] ) . '</label></p>' : '' ) . '
     284                        ' . ( $args['remember'] ? '<p class="login-remember"><label><input name="rememberme" type="checkbox" id="' . esc_attr( $args['id_remember'] ) . '" value="forever"' . ( $args['value_remember'] ? ' checked="checked"' : '' ) . ' /> ' . esc_html( $args['label_remember'] ) . '</label></p>' : '' ) . '
    285285                        <p class="login-submit">
    286                                 <input type="submit" name="wp-submit" id="' . esc_attr( $args['id_submit'] ) . '" class="button-primary" value="' . esc_attr( $args['label_log_in'] ) . '" tabindex="100" />
     286                                <input type="submit" name="wp-submit" id="' . esc_attr( $args['id_submit'] ) . '" class="button-primary" value="' . esc_attr( $args['label_log_in'] ) . ' />
    287287                                <input type="hidden" name="redirect_to" value="' . esc_url( $args['redirect'] ) . '" />
    288288                        </p>
    289289                        ' . apply_filters( 'login_form_bottom', '', $args ) . '
  • wp-includes/js/tinymce/wp-mce-help.php

     
    159159</script>
    160160
    161161<ul id="tabs">
    162         <li><a id="tab1" href="javascript:flipTab(1)" title="<?php esc_attr_e('Basics of Rich Editing') ?>" accesskey="1" tabindex="1" class="current"><?php _e('Basics') ?></a></li>
    163         <li><a id="tab2" href="javascript:flipTab(2)" title="<?php esc_attr_e('Advanced use of the Rich Editor') ?>" accesskey="2" tabindex="2"><?php _e('Advanced') ?></a></li>
    164         <li><a id="tab3" href="javascript:flipTab(3)" title="<?php esc_attr_e('Hotkeys') ?>" accesskey="3" tabindex="3"><?php _e('Hotkeys') ?></a></li>
    165         <li><a id="tab4" href="javascript:flipTab(4)" title="<?php esc_attr_e('About the software') ?>" accesskey="4" tabindex="4"><?php _e('About') ?></a></li>
     162        <li><a id="tab1" href="javascript:flipTab(1)" title="<?php esc_attr_e('Basics of Rich Editing') ?>" accesskey="1" class="current"><?php _e('Basics') ?></a></li>
     163        <li><a id="tab2" href="javascript:flipTab(2)" title="<?php esc_attr_e('Advanced use of the Rich Editor') ?>" accesskey="2"><?php _e('Advanced') ?></a></li>
     164        <li><a id="tab3" href="javascript:flipTab(3)" title="<?php esc_attr_e('Hotkeys') ?>" accesskey="3"><?php _e('Hotkeys') ?></a></li>
     165        <li><a id="tab4" href="javascript:flipTab(4)" title="<?php esc_attr_e('About the software') ?>" accesskey="4"><?php _e('About') ?></a></li>
    166166</ul>
    167167
    168168<div id="flipper" class="wrap">
  • wp-login.php

     
    432432<form name="lostpasswordform" id="lostpasswordform" action="<?php echo esc_url( site_url( 'wp-login.php?action=lostpassword', 'login_post' ) ); ?>" method="post">
    433433        <p>
    434434                <label for="user_login" ><?php _e('Username or E-mail:') ?><br />
    435                 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" tabindex="10" /></label>
     435                <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" /></label>
    436436        </p>
    437437<?php do_action('lostpassword_form'); ?>
    438438        <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
    439         <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Get New Password'); ?>" tabindex="100" /></p>
     439        <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Get New Password'); ?>" /></p>
    440440</form>
    441441
    442442<p id="nav">
     
    492492        <p class="description indicator-hint"><?php _e('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).'); ?></p>
    493493
    494494        <br class="clear" />
    495         <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Reset Password'); ?>" tabindex="100" /></p>
     495        <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Reset Password'); ?>" /></p>
    496496</form>
    497497
    498498<p id="nav">
     
    538538<form name="registerform" id="registerform" action="<?php echo esc_url( site_url('wp-login.php?action=register', 'login_post') ); ?>" method="post">
    539539        <p>
    540540                <label for="user_login"><?php _e('Username') ?><br />
    541                 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr(stripslashes($user_login)); ?>" size="20" tabindex="10" /></label>
     541                <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr(stripslashes($user_login)); ?>" size="20" /></label>
    542542        </p>
    543543        <p>
    544544                <label for="user_email"><?php _e('E-mail') ?><br />
    545                 <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr(stripslashes($user_email)); ?>" size="25" tabindex="20" /></label>
     545                <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr(stripslashes($user_email)); ?>" size="25" /></label>
    546546        </p>
    547547<?php do_action('register_form'); ?>
    548548        <p id="reg_passmail"><?php _e('A password will be e-mailed to you.') ?></p>
    549549        <br class="clear" />
    550550        <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
    551         <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Register'); ?>" tabindex="100" /></p>
     551        <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Register'); ?>" /></p>
    552552</form>
    553553
    554554<p id="nav">
     
    671671<form name="loginform" id="loginform" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
    672672        <p>
    673673                <label for="user_login"><?php _e('Username') ?><br />
    674                 <input type="text" name="log" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" tabindex="10" /></label>
     674                <input type="text" name="log" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" /></label>
    675675        </p>
    676676        <p>
    677677                <label for="user_pass"><?php _e('Password') ?><br />
    678                 <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label>
     678                <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" /></label>
    679679        </p>
    680680<?php do_action('login_form'); ?>
    681         <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90"<?php checked( $rememberme ); ?> /> <?php esc_attr_e('Remember Me'); ?></label></p>
     681        <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="forever" <?php checked( $rememberme ); ?> /> <?php esc_attr_e('Remember Me'); ?></label></p>
    682682        <p class="submit">
    683                 <input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Log In'); ?>" tabindex="100" />
     683                <input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Log In'); ?>" />
    684684<?php   if ( $interim_login ) { ?>
    685685                <input type="hidden" name="interim-login" value="1" />
    686686<?php   } else { ?>