Customize: Remove an unused variable.

The cleanup in [38972] missed a variable that is no longer being used.

Fixes #27403.


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


git-svn-id: http://core.svn.wordpress.org/trunk@38916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2016-10-27 00:31:29 +00:00
parent 022ee8ec36
commit 582c8a12d2
3 changed files with 3 additions and 4 deletions

View File

@ -138,8 +138,7 @@ wp.customize.selectiveRefresh = ( function( $, api ) {
* @returns {void} * @returns {void}
*/ */
positionEditShortcut: function( placement, $editShortcut ) { positionEditShortcut: function( placement, $editShortcut ) {
var partial = this, $placementContainer; var $placementContainer = $( placement.container );
$placementContainer = $( placement.container );
$placementContainer.prepend( $editShortcut ); $placementContainer.prepend( $editShortcut );
if ( ! $placementContainer.is( ':visible' ) || 'none' === $placementContainer.css( 'display' ) ) { if ( ! $placementContainer.is( ':visible' ) || 'none' === $placementContainer.css( 'display' ) ) {
$editShortcut.addClass( 'customize-partial-edit-shortcut-hidden' ); $editShortcut.addClass( 'customize-partial-edit-shortcut-hidden' );

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-alpha-38972'; $wp_version = '4.7-alpha-38973';
/** /**
* 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.