Make WordPress Core


Ignore:
Timestamp:
10/16/2012 09:38:35 PM (12 years ago)
Author:
azaozz
Message:

Tab indexes: when tabbing out of the editors make sure the next focused element is the expected/default action, fix focusing the next field when picking a date for future post, props lessbloat, fixes #21340

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r22146 r22250  
    528528
    529529        <p class="submit">
     530            <span id="publishing-action">
     531                <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'); ?>" />
     532                <span class="spinner"></span>
     533            </span>
    530534            <input type="hidden" name="action" id="quickpost-action" value="post-quickpress-save" />
    531535            <input type="hidden" name="post_ID" value="<?php echo $post_ID; ?>" />
     
    534538            <?php submit_button( __( 'Save Draft' ), 'button', 'save', false, array( 'id' => 'save-post' ) ); ?>
    535539            <input type="reset" value="<?php esc_attr_e( 'Reset' ); ?>" class="button" />
    536             <span id="publishing-action">
    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'); ?>" />
    538                 <span class="spinner"></span>
    539             </span>
    540540            <br class="clear" />
    541541        </p>
Note: See TracChangeset for help on using the changeset viewer.