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
This commit is contained in:
laurelfulford 2019-01-21 22:08:49 +00:00
parent 57c293e2d7
commit b9e6b7e2a3
2 changed files with 2 additions and 1 deletions

View File

@ -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' );
}

View File

@ -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.