WordPress.org

Make WordPress Core

Changeset 41650


Ignore:
Timestamp:
09/29/2017 10:03:15 PM (21 months ago)
Author:
westonruter
Message:

Customize: Remove unused JS variables to fix JSHint.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-controls.js

    r41649 r41650  
    19111911                noFilter = ( undefined !== api.section( 'wporg_themes' ) && 'wporg' !== section.params.action ) ? '.no-themes-local' : '.no-themes',
    19121912                term = el.value.toLowerCase().trim().replace( '-', ' ' ),
    1913                 controls = section.controls(),
    1914                 renderScreenshots;
     1913                controls = section.controls();
    19151914
    19161915            if ( section.loading ) {
     
    78567855
    78577856                publishWhenTime = function() {
    7858                     var publishSettingsSection;
    7859 
    78607857                    api.state( 'selectedChangesetStatus' ).set( 'publish' );
    78617858                    api.previewer.save();
Note: See TracChangeset for help on using the changeset viewer.