Make WordPress Core


Ignore:
Timestamp:
01/05/2016 01:37:56 PM (9 years ago)
Author:
afercia
Message:

Introduce a new generic CSS clearfix utility class.

.wp-clearfix is now the recommended way to clear and contain floated elements.
Adds back compatibility for the .nav-tab-wrapper navigation tabs.

See #26396.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/nav-menus.php

    r35722 r36171  
    585585        ?>
    586586    </h1>
    587     <h2 class="nav-tab-wrapper">
     587    <h2 class="nav-tab-wrapper wp-clearfix">
    588588        <a href="<?php echo admin_url( 'nav-menus.php' ); ?>" class="nav-tab<?php if ( ! isset( $_GET['action'] ) || isset( $_GET['action'] ) && 'locations' != $_GET['action'] ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Edit Menus' ); ?></a>
    589589        <?php if ( $num_locations && $menu_count ) : ?>
Note: See TracChangeset for help on using the changeset viewer.