WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/30/2016 01:45:37 PM (6 years ago)
Author:
afercia
Message:

After [36171] remove all the occurrences of the old CSS clearfix.

The old clearfix was applied to very specific items and defined multiple times
across CSS files. Uses the new generic .wp-clearfix utility class instead.

See #26396.

File:
1 edited

Legend:

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

    r36419 r36422  
    648648                </tbody>
    649649            </table>
    650             <p class="button-controls"><?php submit_button( __( 'Save Changes' ), 'primary left', 'nav-menu-locations', false ); ?></p>
     650            <p class="button-controls wp-clearfix"><?php submit_button( __( 'Save Changes' ), 'primary left', 'nav-menu-locations', false ); ?></p>
    651651            <?php wp_nonce_field( 'save-menu-locations' ); ?>
    652652            <input type="hidden" name="menu" id="nav-menu-meta-object-id" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" />
     
    715715    <?php endif; ?>
    716716    </div><!-- /manage-menus -->
    717     <div id="nav-menus-frame">
     717    <div id="nav-menus-frame" class="wp-clearfix">
    718718    <div id="menu-settings-column" class="metabox-holder<?php if ( isset( $_GET['menu'] ) && '0' == $_GET['menu'] ) { echo ' metabox-holder-disabled'; } ?>">
    719719
     
    749749                    <input type="hidden" name="menu" id="menu" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" />
    750750                    <div id="nav-menu-header">
    751                         <div class="major-publishing-actions">
     751                        <div class="major-publishing-actions wp-clearfix">
    752752                            <label class="menu-name-label" for="menu-name"><?php _e( 'Menu Name' ); ?></label>
    753753                            <input name="menu-name" id="menu-name" type="text" class="menu-name regular-text menu-item-textbox" <?php echo $menu_name_val . $menu_name_aria_desc; ?> />
     
    758758                    </div><!-- END .nav-menu-header -->
    759759                    <div id="post-body">
    760                         <div id="post-body-content">
     760                        <div id="post-body-content" class="wp-clearfix">
    761761                            <?php if ( ! $add_new_screen ) : ?>
    762762                            <h3><?php _e( 'Menu Structure' ); ?></h3>
     
    823823                    </div><!-- /#post-body -->
    824824                    <div id="nav-menu-footer">
    825                         <div class="major-publishing-actions">
     825                        <div class="major-publishing-actions wp-clearfix">
    826826                            <?php if ( 0 != $menu_count && ! $add_new_screen ) : ?>
    827827                            <span class="delete-action">
Note: See TracChangeset for help on using the changeset viewer.