From e90b5ee669a4754adf1ceb2179903f7b35d6d558 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 29 Sep 2017 22:04:47 +0000 Subject: [PATCH] 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 --- wp-admin/js/customize-controls.js | 5 +---- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/wp-admin/js/customize-controls.js b/wp-admin/js/customize-controls.js index 1b54586cb1..70dff7403d 100644 --- a/wp-admin/js/customize-controls.js +++ b/wp-admin/js/customize-controls.js @@ -1910,8 +1910,7 @@ section = this, noFilter = ( undefined !== api.section( 'wporg_themes' ) && 'wporg' !== section.params.action ) ? '.no-themes-local' : '.no-themes', term = el.value.toLowerCase().trim().replace( '-', ' ' ), - controls = section.controls(), - renderScreenshots; + controls = section.controls(); if ( section.loading ) { return; @@ -7855,8 +7854,6 @@ } ); publishWhenTime = function() { - var publishSettingsSection; - api.state( 'selectedChangesetStatus' ).set( 'publish' ); api.previewer.save(); }; diff --git a/wp-includes/version.php b/wp-includes/version.php index f74ac25924..6e0a1cb16c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.