Twenty Fourteen: Replace overly broad float-clearing selectors with more specific ones, to avoid unintentionally targeting elements generated by plugins.

Props ianbelanger, iandunn, karmatosed.
Fixes #35779.
Built from https://develop.svn.wordpress.org/trunk@46430


git-svn-id: http://core.svn.wordpress.org/trunk@46228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-10-08 02:02:03 +00:00
parent d294597e6e
commit bcd53396f1
2 changed files with 49 additions and 7 deletions

View File

@ -762,10 +762,38 @@ div.wp-caption.alignright .wp-caption-text {
.contributor-info:after, .contributor-info:after,
.search-box:before, .search-box:before,
.search-box:after, .search-box:after,
[class*="content"]:before, .site:before,
[class*="content"]:after, .site:after,
[class*="site"]:before, .site-header:before,
[class*="site"]:after { .site-header:after,
.site-description:before,
.site-description:after,
.site-navigation:before,
.site-navigation:after,
.site-main:before,
.site-main:after,
.main-content:before,
.main-content:after,
.featured-content:before,
.featured-content:after,
.featured-content-inner:before,
.featured-content-inner:after,
.content-area:before,
.content-area:after,
.site-content:before,
.site-content:after,
.page-content:before,
.page-content:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.content-sidebar:before,
.content-sidebar:after,
.site-footer:before,
.site-footer:after,
.site-info:before,
.site-info:after {
content: ""; content: "";
display: table; display: table;
} }
@ -776,8 +804,22 @@ div.wp-caption.alignright .wp-caption-text {
.slider-direction-nav:after, .slider-direction-nav:after,
.contributor-info:after, .contributor-info:after,
.search-box:after, .search-box:after,
[class*="content"]:after, .site:after,
[class*="site"]:after { .site-header:after,
.site-description:after,
.site-navigation:after,
.site-main:after,
.main-content:after,
.featured-content:after,
.featured-content-inner:after,
.content-area:after,
.site-content:after,
.page-content:after,
.entry-content:after,
.comment-content:after,
.content-sidebar:after,
.site-footer:after,
.site-info:after {
clear: both; clear: both;
} }

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.3-beta2-46429'; $wp_version = '5.3-beta2-46430';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.