mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 04:34:31 +00:00
Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes.
The `submitdelete` CSS class is used in various places across the admin for some "red" action links. It is worth simplifying this rule for further improvements related to color contrast. - simplifies a non-standard styling for the "Remove/Cancel" links in the Menus screen - underlines all the "Move to trash/Delete" red links in all the Publish meta boxes - fixes CSS classes usage for all the Publish meta boxes primary buttons - fixes broken layout for the old Link Manager publish meta box Props karmatosed, hugobaeta, monikarao, afercia. Fixes #37969, #37018. See #37448, #37138, #27314. git-svn-id: https://develop.svn.wordpress.org/trunk@38616 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -162,7 +162,7 @@ endif; ?>
|
||||
<?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url("comment.php?action=" . ( !EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "</a>\n"; ?>
|
||||
</div>
|
||||
<div id="publishing-action">
|
||||
<?php submit_button( __( 'Update' ), 'primary', 'save', false ); ?>
|
||||
<?php submit_button( __( 'Update' ), 'primary large', 'save', false ); ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user