mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-05 16:08:12 +01:00
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:
parent
022ee8ec36
commit
582c8a12d2
@ -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
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user