From b9e6b7e2a3fc2207427d7d4a30874f77eb074511 Mon Sep 17 00:00:00 2001 From: laurelfulford Date: Mon, 21 Jan 2019 22:08:49 +0000 Subject: [PATCH] Twenty Seventeen: Update blockquote alignment on load. The theme uses JavaScript to check if a right-aligned blockquote is below the sidebar content before pushing it outside of the content area. This was originally only firing on browser resize. Fixes #40103. Built from https://develop.svn.wordpress.org/trunk@44679 git-svn-id: http://core.svn.wordpress.org/trunk@44510 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyseventeen/assets/js/global.js | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyseventeen/assets/js/global.js b/wp-content/themes/twentyseventeen/assets/js/global.js index 6e2f42902e..b6322de44d 100644 --- a/wp-content/themes/twentyseventeen/assets/js/global.js +++ b/wp-content/themes/twentyseventeen/assets/js/global.js @@ -208,6 +208,7 @@ adjustHeaderHeight(); setQuotesIcon(); + belowEntryMetaClass( 'blockquote.alignleft, blockquote.alignright' ); if ( true === supportsInlineSVG() ) { document.documentElement.className = document.documentElement.className.replace( /(\s*)no-svg(\s*)/, '$1svg$2' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 95b0bced4a..abad25f8dd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-beta1-44678'; +$wp_version = '5.1-beta1-44679'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.