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:
parent
57c293e2d7
commit
b9e6b7e2a3
|
@ -208,6 +208,7 @@
|
||||||
|
|
||||||
adjustHeaderHeight();
|
adjustHeaderHeight();
|
||||||
setQuotesIcon();
|
setQuotesIcon();
|
||||||
|
belowEntryMetaClass( 'blockquote.alignleft, blockquote.alignright' );
|
||||||
if ( true === supportsInlineSVG() ) {
|
if ( true === supportsInlineSVG() ) {
|
||||||
document.documentElement.className = document.documentElement.className.replace( /(\s*)no-svg(\s*)/, '$1svg$2' );
|
document.documentElement.className = document.documentElement.className.replace( /(\s*)no-svg(\s*)/, '$1svg$2' );
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue