Ticket #26396: 26396.5.remove-old-clearfix.patch
File 26396.5.remove-old-clearfix.patch, 15.2 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/list-tables.css
974 974 line-height: 2.5; 975 975 } 976 976 977 .inline-edit-row fieldset .inline-edit-group:after {978 content: ".";979 display: block;980 height: 0;981 clear: both;982 visibility: hidden;983 }984 985 977 .inline-edit-row p.submit { 986 978 clear: both; 987 979 padding: 0.5em; -
src/wp-admin/css/nav-menus.css
778 778 margin-left: -4px; 779 779 } 780 780 781 /* Clearfix */782 #menu-item-name-wrap:after,783 #menu-item-url-wrap:after,784 #menu-name-label:after,785 #menu-settings-column .inside:after,786 #nav-menus-frame:after,787 .nav-menus-php #post-body-content:after,788 .nav-menus-php .button-controls:after,789 .nav-menus-php .major-publishing-actions:after,790 .nav-menus-php .menu-item-settings:after {791 clear: both;792 content: ".";793 display: block;794 height: 0;795 visibility: hidden;796 }797 798 781 #nav-menus-frame, 799 782 .button-controls, 800 783 #menu-item-url-wrap, -
src/wp-admin/css/themes.css
525 525 -webkit-overflow-scrolling: touch; 526 526 } 527 527 528 .theme-overlay .theme-wrap:after {529 content: ".";530 display: block;531 height: 0;532 clear: both;533 visibility: hidden;534 }535 536 528 body.folded .theme-overlay .theme-wrap { 537 529 left: 70px; 538 530 } … … 546 538 overflow: auto; 547 539 padding: 2% 4%; 548 540 } 549 .theme-overlay .theme-about:after {550 content: ".";551 display: block;552 height: 0;553 clear: both;554 visibility: hidden;555 }556 541 557 542 .theme-overlay .theme-actions { 558 543 position: absolute; -
src/wp-admin/css/widgets.css
225 225 226 226 /* Widgets Right */ 227 227 228 div#widgets-right:after {229 content: ".";230 display: block;231 height: 0;232 clear: both;233 visibility: hidden;234 }235 236 228 div#widgets-right .sidebars-column-1, 237 229 div#widgets-right .sidebars-column-2 { 238 230 max-width: 450px; -
src/wp-admin/customize.php
127 127 </a> 128 128 </div> 129 129 130 <div id="widgets-right "><!-- For Widget Customizer, many widgets try to look for instances under div#widgets-right, so we have to add that ID to a container div in the Customizer for compat -->130 <div id="widgets-right wp-clearfix"><!-- For Widget Customizer, many widgets try to look for instances under div#widgets-right, so we have to add that ID to a container div in the Customizer for compat --> 131 131 <div class="wp-full-overlay-sidebar-content" tabindex="-1"> 132 132 <div id="customize-info" class="accordion-section customize-info"> 133 133 <div class="accordion-section-title"> -
src/wp-admin/includes/class-walker-nav-menu-edit.php
150 150 </div> 151 151 </div> 152 152 153 <div class="menu-item-settings " id="menu-item-settings-<?php echo $item_id; ?>">153 <div class="menu-item-settings wp-clearfix" id="menu-item-settings-<?php echo $item_id; ?>"> 154 154 <?php if ( 'custom' == $item->type ) : ?> 155 155 <p class="field-url description description-wide"> 156 156 <label for="edit-menu-item-url-<?php echo $item_id; ?>"> -
src/wp-admin/includes/class-wp-posts-list-table.php
1356 1356 if ( !$bulk && $can_publish ) : 1357 1357 ?> 1358 1358 1359 <div class="inline-edit-group ">1359 <div class="inline-edit-group wp-clearfix"> 1360 1360 <label class="alignleft"> 1361 1361 <span class="title"><?php _e( 'Password' ); ?></span> 1362 1362 <span class="input-text-wrap"><input type="text" name="post_password" class="inline-edit-password-input" value="" /></span> … … 1488 1488 <?php if ( post_type_supports( $screen->post_type, 'comments' ) || post_type_supports( $screen->post_type, 'trackbacks' ) ) : 1489 1489 if ( $bulk ) : ?> 1490 1490 1491 <div class="inline-edit-group ">1491 <div class="inline-edit-group wp-clearfix"> 1492 1492 <?php if ( post_type_supports( $screen->post_type, 'comments' ) ) : ?> 1493 1493 <label class="alignleft"> 1494 1494 <span class="title"><?php _e( 'Comments' ); ?></span> … … 1512 1512 1513 1513 <?php else : // $bulk ?> 1514 1514 1515 <div class="inline-edit-group ">1515 <div class="inline-edit-group wp-clearfix"> 1516 1516 <?php if ( post_type_supports( $screen->post_type, 'comments' ) ) : ?> 1517 1517 <label class="alignleft"> 1518 1518 <input type="checkbox" name="comment_status" value="open" /> … … 1529 1529 <?php endif; // $bulk 1530 1530 endif; // post_type_supports comments or pings ?> 1531 1531 1532 <div class="inline-edit-group ">1532 <div class="inline-edit-group wp-clearfix"> 1533 1533 <label class="inline-edit-status alignleft"> 1534 1534 <span class="title"><?php _e( 'Status' ); ?></span> 1535 1535 <select name="_status"> -
src/wp-admin/includes/nav-menu.php
263 263 ?> 264 264 <div class="customlinkdiv" id="customlinkdiv"> 265 265 <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"> 267 267 <label class="howto" for="custom-menu-item-url"> 268 268 <span><?php _e('URL'); ?></span> 269 269 <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://" /> … … 270 270 </label> 271 271 </p> 272 272 273 <p id="menu-item-name-wrap" >273 <p id="menu-item-name-wrap" class="wp-clearfix"> 274 274 <label class="howto" for="custom-menu-item-name"> 275 275 <span><?php _e( 'Link Text' ); ?></span> 276 276 <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 input-with-default-title" title="<?php esc_attr_e('Menu Item'); ?>" /> … … 277 277 </label> 278 278 </p> 279 279 280 <p class="button-controls ">280 <p class="button-controls wp-clearfix"> 281 281 <span class="add-to-menu"> 282 282 <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" /> 283 283 <span class="spinner"></span> … … 543 543 <?php endif; ?> 544 544 </div><!-- /.tabs-panel --> 545 545 546 <p class="button-controls ">546 <p class="button-controls wp-clearfix"> 547 547 <span class="list-controls"> 548 548 <a href="<?php 549 549 echo esc_url( add_query_arg( … … 733 733 </ul> 734 734 </div><!-- /.tabs-panel --> 735 735 736 <p class="button-controls ">736 <p class="button-controls wp-clearfix"> 737 737 <span class="list-controls"> 738 738 <a href="<?php 739 739 echo esc_url(add_query_arg( -
src/wp-admin/includes/theme.php
588 588 ?> 589 589 <script type="text/html" id="tmpl-customize-themes-details-view"> 590 590 <div class="theme-backdrop"></div> 591 <div class="theme-wrap ">591 <div class="theme-wrap wp-clearfix"> 592 592 <div class="theme-header"> 593 593 <button type="button" class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button> 594 594 <button type="button" class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button> 595 595 <button type="button" class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close details dialog' ); ?></span></button> 596 596 </div> 597 <div class="theme-about ">597 <div class="theme-about wp-clearfix"> 598 598 <div class="theme-screenshots"> 599 599 <# if ( data.screenshot[0] ) { #> 600 600 <div class="screenshot"><img src="{{ data.screenshot[0] }}" alt="" /></div> -
src/wp-admin/nav-menus.php
647 647 <?php } // foreach ?> 648 648 </tbody> 649 649 </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> 651 651 <?php wp_nonce_field( 'save-menu-locations' ); ?> 652 652 <input type="hidden" name="menu" id="nav-menu-meta-object-id" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" /> 653 653 </form> … … 714 714 </form> 715 715 <?php endif; ?> 716 716 </div><!-- /manage-menus --> 717 <div id="nav-menus-frame" >717 <div id="nav-menus-frame" class="wp-clearfix"> 718 718 <div id="menu-settings-column" class="metabox-holder<?php if ( isset( $_GET['menu'] ) && '0' == $_GET['menu'] ) { echo ' metabox-holder-disabled'; } ?>"> 719 719 720 720 <div class="clear"></div> … … 742 742 <input type="hidden" name="action" value="update" /> 743 743 <input type="hidden" name="menu" id="menu" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" /> 744 744 <div id="nav-menu-header"> 745 <div class="major-publishing-actions ">745 <div class="major-publishing-actions wp-clearfix"> 746 746 <label class="menu-name-label howto open-label" for="menu-name"> 747 747 <span><?php _e( 'Menu Name' ); ?></span> 748 748 <input name="menu-name" id="menu-name" type="text" class="menu-name regular-text menu-item-textbox input-with-default-title" title="<?php esc_attr_e( 'Enter menu name here' ); ?>" value="<?php if ( $one_theme_location_no_menus ) _e( 'Menu 1' ); else echo esc_attr( $nav_menu_selected_title ); ?>" /> … … 753 753 </div><!-- END .major-publishing-actions --> 754 754 </div><!-- END .nav-menu-header --> 755 755 <div id="post-body"> 756 <div id="post-body-content" >756 <div id="post-body-content" class="wp-clearfix"> 757 757 <?php if ( ! $add_new_screen ) : ?> 758 758 <h3><?php _e( 'Menu Structure' ); ?></h3> 759 759 <?php $starter_copy = ( $one_theme_location_no_menus ) ? __( 'Edit your default menu by adding or removing items. Drag each item into the order you prefer. Click Create Menu to save your changes.' ) : __( 'Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.' ); ?> … … 801 801 <input type="checkbox"<?php checked( isset( $menu_locations[ $location ] ) && $menu_locations[ $location ] == $nav_menu_selected_id ); ?> name="menu-locations[<?php echo esc_attr( $location ); ?>]" id="locations-<?php echo esc_attr( $location ); ?>" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" /> 802 802 <label for="locations-<?php echo esc_attr( $location ); ?>"><?php echo $description; ?></label> 803 803 <?php if ( ! empty( $menu_locations[ $location ] ) && $menu_locations[ $location ] != $nav_menu_selected_id ) : ?> 804 <span class="theme-location-set"><?php 804 <span class="theme-location-set"><?php 805 805 /* translators: %s: menu name */ 806 806 printf( _x( '(Currently set to: %s)', 'menu location' ), 807 807 wp_get_nav_menu_object( $menu_locations[ $location ] )->name … … 818 818 </div><!-- /#post-body-content --> 819 819 </div><!-- /#post-body --> 820 820 <div id="nav-menu-footer"> 821 <div class="major-publishing-actions ">821 <div class="major-publishing-actions wp-clearfix"> 822 822 <?php if ( 0 != $menu_count && ! $add_new_screen ) : ?> 823 823 <span class="delete-action"> 824 824 <a class="submitdelete deletion menu-delete" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'delete', 'menu' => $nav_menu_selected_id, admin_url() ) ), 'delete-nav_menu-' . $nav_menu_selected_id) ); ?>"><?php _e('Delete Menu'); ?></a> -
src/wp-admin/themes.php
403 403 404 404 <script id="tmpl-theme-single" type="text/template"> 405 405 <div class="theme-backdrop"></div> 406 <div class="theme-wrap ">406 <div class="theme-wrap wp-clearfix"> 407 407 <div class="theme-header"> 408 408 <button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button> 409 409 <button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button> 410 410 <button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close details dialog' ); ?></span></button> 411 411 </div> 412 <div class="theme-about ">412 <div class="theme-about wp-clearfix"> 413 413 <div class="theme-screenshots"> 414 414 <# if ( data.screenshot[0] ) { #> 415 415 <div class="screenshot"><img src="{{ data.screenshot[0] }}" alt="" /></div> -
src/wp-admin/widgets.php
449 449 if ( $sidebars_count > 1 ) { 450 450 $split = ceil( $sidebars_count / 2 ); 451 451 } else { 452 $single_sidebar_class = ' class="single-sidebar"';452 $single_sidebar_class = ' single-sidebar'; 453 453 } 454 454 455 455 ?> 456 456 <div class="widget-liquid-right"> 457 <div id="widgets-right" <?php echo $single_sidebar_class; ?>>457 <div id="widgets-right" class="wp-clearfix<?php echo $single_sidebar_class; ?>"> 458 458 <div class="sidebars-column-1"> 459 459 <?php 460 460 -
src/wp-includes/class-wp-customize-nav-menus.php
745 745 </h4> 746 746 <div class="accordion-section-content"> 747 747 <input type="hidden" value="custom" id="custom-menu-item-type" name="menu-item[-1][menu-item-type]" /> 748 <p id="menu-item-url-wrap" >748 <p id="menu-item-url-wrap" class="wp-clearfix"> 749 749 <label class="howto" for="custom-menu-item-url"> 750 750 <span><?php _e( 'URL' ); ?></span> 751 751 <input id="custom-menu-item-url" name="menu-item[-1][menu-item-url]" type="text" class="code menu-item-textbox" value="http://"> 752 752 </label> 753 753 </p> 754 <p id="menu-item-name-wrap" >754 <p id="menu-item-name-wrap" class="wp-clearfix"> 755 755 <label class="howto" for="custom-menu-item-name"> 756 756 <span><?php _e( 'Link Text' ); ?></span> 757 757 <input id="custom-menu-item-name" name="menu-item[-1][menu-item-title]" type="text" class="regular-text menu-item-textbox">