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:
David A. Kennedy 2016-11-01 21:24:30 +00:00
parent 9cf5aa4381
commit 4b3a9de5b5
2 changed files with 4 additions and 5 deletions

View File

@ -172,7 +172,6 @@
adjustHeaderHeight(); adjustHeaderHeight();
setQuotesIcon(); setQuotesIcon();
supportsInlineSVG();
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' );
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.