Ticket #31090: 31090.patch
File 31090.patch, 2.5 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/nav-menus.css
101 101 margin-top: 1px; 102 102 } 103 103 104 .menu-edit p {105 margin: .3em 0 .6em;106 }107 108 104 .menu-edit #post-body-content h3 { 109 105 margin: 1em 0 10px; 110 106 } … … 216 212 margin-top: -2px; 217 213 } 218 214 219 .widefat td.menu-location-menus{220 padding- bottom: 5px;215 .widefat .menu-locations tr + tr td { 216 padding-top: 0; 221 217 } 222 218 219 .widefat .menu-locations td { 220 vertical-align: middle; 221 } 222 223 .menu-location-title label { 224 font-weight: bold; 225 } 226 223 227 .menu-location-menus select { 224 228 float: left; 225 229 } -
src/wp-admin/nav-menus.php
581 581 </tfoot>--> 582 582 <tbody class="menu-locations"> 583 583 <?php foreach ( $locations as $_location => $_name ) { ?> 584 <tr id="menu-locations-row">585 <td class="menu-location-title">< strong><?php echo $_name; ?></strong></td>584 <tr class="menu-locations-row"> 585 <td class="menu-location-title"><label for="locations-<?php echo $_location; ?>"><?php echo $_name; ?></label></td> 586 586 <td class="menu-location-menus"> 587 587 <select name="menu-locations[<?php echo $_location; ?>]" id="locations-<?php echo $_location; ?>"> 588 588 <option value="0"><?php printf( '— %s —', esc_html__( 'Select a Menu' ) ); ?></option> … … 597 597 <?php if ( isset( $menu_locations[ $_location ] ) && 0 != $menu_locations[ $_location ] ) : ?> 598 598 <span class="locations-edit-menu-link"> 599 599 <a href="<?php echo esc_url( add_query_arg( array( 'action' => 'edit', 'menu' => $menu_locations[$_location] ), admin_url( 'nav-menus.php' ) ) ); ?>"> 600 < ?php _ex( 'Edit', 'menu' ); ?>600 <span aria-hidden="true"><?php _ex( 'Edit', 'menu' ); ?></span><span class="screen-reader-text"><?php _e( 'Edit selected menu' ); ?></span> 601 601 </a> 602 602 </span> 603 603 <?php endif; ?> … … 606 606 <?php _ex( 'Use new menu', 'menu' ); ?> 607 607 </a> 608 608 </span> 609 </div><!-- #locations-row-links -->609 </div><!-- .locations-row-links --> 610 610 </td><!-- .menu-location-menus --> 611 </tr><!-- #menu-locations-row -->611 </tr><!-- .menu-locations-row --> 612 612 <?php } // foreach ?> 613 613 </tbody> 614 614 </table>