Ticket #35134: 35134.patch
File 35134.patch, 2.7 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/nav-menus.css
618 618 white-space: nowrap; 619 619 } 620 620 621 .no-js.nav-menus-php .item-edit { 622 position: static; 623 float: right; 624 width: auto; 625 height: auto; 626 margin-right: -10px !important; 627 padding: 12px 0; 628 color: #0073aa; 629 text-decoration: underline; 630 font-size: 12px; 631 line-height: 18px; 632 text-indent: 0; 633 } 634 621 635 .nav-menus-php .item-edit:before { 622 636 margin-top: 10px; 623 637 margin-left: 4px; … … 627 641 text-indent: -1px; /* account for the dashicon alignment */ 628 642 } 629 643 644 .no-js.nav-menus-php .item-edit:before { 645 display: none; 646 } 647 630 648 .rtl .nav-menus-php .item-edit:before { 631 649 text-indent: 1px; /* account for the dashicon alignment */ 632 650 } … … 638 656 639 657 .nav-menus-php .item-edit:focus:before { 640 658 -webkit-box-shadow: 641 659 0 0 0 1px #5b9dd9, 642 660 0 0 2px 1px rgba(30, 140, 190, .8); 643 644 661 box-shadow: 662 0 0 0 1px #5b9dd9, 645 663 0 0 2px 1px rgba(30, 140, 190, .8); 646 664 } 647 665 -
src/wp-admin/includes/class-walker-nav-menu-edit.php
126 126 ), 127 127 'move-menu_item' 128 128 ); 129 ?>" class="item-move-up">< abbr title="<?php esc_attr_e('Move up'); ?>">↑</abbr></a>129 ?>" class="item-move-up"><span class="screen-reader-text"><?php _e( 'Move up' ) ?></span><span class="aria-hidden">↑</span></a> 130 130 | 131 131 <a href="<?php 132 132 echo wp_nonce_url( … … 139 139 ), 140 140 'move-menu_item' 141 141 ); 142 ?>" class="item-move-down">< abbr title="<?php esc_attr_e('Move down'); ?>">↓</abbr></a>142 ?>" class="item-move-down"><span class="screen-reader-text"><?php _e( 'Move down' ) ?></span><span class="aria-hidden">↓</span></a> 143 143 </span> 144 <a class="item-edit" id="edit-<?php echo $item_id; ?>" title="<?php esc_attr_e('Edit Menu Item'); ?>"href="<?php144 <a class="item-edit" id="edit-<?php echo $item_id; ?>" href="<?php 145 145 echo ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? admin_url( 'nav-menus.php' ) : add_query_arg( 'edit-menu-item', $item_id, remove_query_arg( $removed_args, admin_url( 'nav-menus.php#menu-item-settings-' . $item_id ) ) ); 146 ?>" ><?php _e( 'Edit Menu Item' ); ?></a>146 ?>" aria-label="<?php esc_attr_e( 'Edit Menu Item' ); ?>"><?php _e( 'Edit' ); ?></a> 147 147 </span> 148 148 </div> 149 149 </div>