WordPress.org

Make WordPress Core

Ticket #40103: 40103.patch

File 40103.patch, 593 bytes (added by laurelfulford, 4 years ago)

Add fix so also fires JavaScript event that determines if blockquote can be moved on page load.

  • src/wp-content/themes/twentyseventeen/assets/js/global.js

     
    208208
    209209                adjustHeaderHeight();
    210210                setQuotesIcon();
     211                belowEntryMetaClass( 'blockquote.alignleft, blockquote.alignright' );
    211212                if ( true === supportsInlineSVG() ) {
    212213                        document.documentElement.className = document.documentElement.className.replace( /(\s*)no-svg(\s*)/, '$1svg$2' );
    213214                }