Customize: Remove unused JS variables to fix JSHint.

Amends [41649].
See #37661, #39896.

Built from https://develop.svn.wordpress.org/trunk@41650


git-svn-id: http://core.svn.wordpress.org/trunk@41484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2017-09-29 22:04:47 +00:00
parent 57044ac71e
commit e90b5ee669
2 changed files with 2 additions and 5 deletions

View File

@ -1910,8 +1910,7 @@
section = this, section = this,
noFilter = ( undefined !== api.section( 'wporg_themes' ) && 'wporg' !== section.params.action ) ? '.no-themes-local' : '.no-themes', noFilter = ( undefined !== api.section( 'wporg_themes' ) && 'wporg' !== section.params.action ) ? '.no-themes-local' : '.no-themes',
term = el.value.toLowerCase().trim().replace( '-', ' ' ), term = el.value.toLowerCase().trim().replace( '-', ' ' ),
controls = section.controls(), controls = section.controls();
renderScreenshots;
if ( section.loading ) { if ( section.loading ) {
return; return;
@ -7855,8 +7854,6 @@
} ); } );
publishWhenTime = function() { publishWhenTime = function() {
var publishSettingsSection;
api.state( 'selectedChangesetStatus' ).set( 'publish' ); api.state( 'selectedChangesetStatus' ).set( 'publish' );
api.previewer.save(); api.previewer.save();
}; };

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-alpha-41649'; $wp_version = '4.9-alpha-41650';
/** /**
* 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.