Customize: Remove unused JS variables to fix JSHint.
Amends [41649]. See #37661, #39896. git-svn-id: https://develop.svn.wordpress.org/trunk@41650 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d2540cfa06
commit
743494b654
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue