diff --git a/wp-content/themes/twentyseventeen/style.css b/wp-content/themes/twentyseventeen/style.css index 7936adb07e..9a82c945e1 100644 --- a/wp-content/themes/twentyseventeen/style.css +++ b/wp-content/themes/twentyseventeen/style.css @@ -2820,6 +2820,14 @@ object { max-width: 100%; } +/* Remove bottom on embeds that wrapped in paragraphs via wpautop. */ + +p > embed:only-child, +p > iframe:only-child, +p > object:only-child { + margin-bottom: 0; +} + .wp-caption, .gallery-caption { color: #666; diff --git a/wp-includes/version.php b/wp-includes/version.php index 3b473a2cf3..d6b11463c2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-beta2-41887'; +$wp_version = '4.9-beta2-41888'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.