Twenty Seventeen: Fix `supportsInlineSVG()` being unnecessarily called twice
* Also, fix spacing inconsistency in comment. Props tywayne. Fixes #38556. Built from https://develop.svn.wordpress.org/trunk@39081 git-svn-id: http://core.svn.wordpress.org/trunk@39023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9cf5aa4381
commit
4b3a9de5b5
|
@ -172,7 +172,6 @@
|
|||
|
||||
adjustHeaderHeight();
|
||||
setQuotesIcon();
|
||||
supportsInlineSVG();
|
||||
if ( true === supportsInlineSVG() ) {
|
||||
document.documentElement.className = document.documentElement.className.replace( /(\s*)no-svg(\s*)/, '$1svg$2' );
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-beta1-39080';
|
||||
$wp_version = '4.7-beta1-39081';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue