WordPress.org

Make WordPress Core

Changeset 21883


Ignore:
Timestamp:
09/17/2012 10:13:53 PM (8 years ago)
Author:
nacin
Message:

Move the Cancel button for replying and quick-editing a comment to after the primary update/reply button so tabbing from the comment field takes you to the primary action. see #21340.

File:
1 edited

Legend:

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

    r21838 r21883  
    356356
    357357    <p id="replysubmit" class="submit">
    358     <a href="#comments-form" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a>
    359358    <a href="#comments-form" class="save button-primary alignright">
    360359    <span id="addbtn" style="display:none;"><?php _e('Add Comment'); ?></span>
    361360    <span id="savebtn" style="display:none;"><?php _e('Update Comment'); ?></span>
    362361    <span id="replybtn" style="display:none;"><?php _e('Submit Reply'); ?></span></a>
     362    <a href="#comments-form" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a>
    363363    <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
    364364    <span class="error" style="display:none;"></span>
Note: See TracChangeset for help on using the changeset viewer.