Make WordPress Core


Ignore:
Timestamp:
01/30/2016 01:45:37 PM (8 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/includes/nav-menu.php

    r36379 r36422  
    264264    <div class="customlinkdiv" id="customlinkdiv">
    265265        <input type="hidden" value="custom" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-type]" />
    266         <p id="menu-item-url-wrap">
     266        <p id="menu-item-url-wrap" class="wp-clearfix">
    267267            <label class="howto" for="custom-menu-item-url"><?php _e( 'URL' ); ?></label>
    268268            <input id="custom-menu-item-url" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-url]" type="text" class="code menu-item-textbox" value="http://" />
    269269        </p>
    270270
    271         <p id="menu-item-name-wrap">
     271        <p id="menu-item-name-wrap" class="wp-clearfix">
    272272            <label class="howto" for="custom-menu-item-name"><?php _e( 'Link Text' ); ?></label>
    273273            <input id="custom-menu-item-name" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-title]" type="text" class="regular-text menu-item-textbox" />
    274274        </p>
    275275
    276         <p class="button-controls">
     276        <p class="button-controls wp-clearfix">
    277277            <span class="add-to-menu">
    278278                <input type="submit"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="button-secondary submit-add-to-menu right" value="<?php esc_attr_e('Add to Menu'); ?>" name="add-custom-menu-item" id="submit-customlinkdiv" />
     
    541541        </div><!-- /.tabs-panel -->
    542542
    543         <p class="button-controls">
     543        <p class="button-controls wp-clearfix">
    544544            <span class="list-controls">
    545545                <a href="<?php
     
    732732        </div><!-- /.tabs-panel -->
    733733
    734         <p class="button-controls">
     734        <p class="button-controls wp-clearfix">
    735735            <span class="list-controls">
    736736                <a href="<?php
Note: See TracChangeset for help on using the changeset viewer.