mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
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.
git-svn-id: http://core.svn.wordpress.org/trunk@21883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1e33842a84
commit
0d43250e2d
@ -355,11 +355,11 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single',
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p id="replysubmit" class="submit">
|
<p id="replysubmit" class="submit">
|
||||||
<a href="#comments-form" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a>
|
|
||||||
<a href="#comments-form" class="save button-primary alignright">
|
<a href="#comments-form" class="save button-primary alignright">
|
||||||
<span id="addbtn" style="display:none;"><?php _e('Add Comment'); ?></span>
|
<span id="addbtn" style="display:none;"><?php _e('Add Comment'); ?></span>
|
||||||
<span id="savebtn" style="display:none;"><?php _e('Update Comment'); ?></span>
|
<span id="savebtn" style="display:none;"><?php _e('Update Comment'); ?></span>
|
||||||
<span id="replybtn" style="display:none;"><?php _e('Submit Reply'); ?></span></a>
|
<span id="replybtn" style="display:none;"><?php _e('Submit Reply'); ?></span></a>
|
||||||
|
<a href="#comments-form" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a>
|
||||||
<img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
|
<img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
|
||||||
<span class="error" style="display:none;"></span>
|
<span class="error" style="display:none;"></span>
|
||||||
<br class="clear" />
|
<br class="clear" />
|
||||||
|
Loading…
Reference in New Issue
Block a user