Twenty Seventeen: Hide front section panels on page load of Customizer.
Props sstoqnov. Fixes #38951 for the 4.7 branch. Built from https://develop.svn.wordpress.org/branches/4.7@39421 git-svn-id: http://core.svn.wordpress.org/branches/4.7@39361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f57ee7c1f1
commit
e28ec68af6
|
@ -8,6 +8,10 @@
|
|||
|
||||
// Collect information from customize-controls.js about which panels are opening.
|
||||
wp.customize.bind( 'preview-ready', function() {
|
||||
|
||||
// Initially hide the theme option placeholders on load
|
||||
$( '.panel-placeholder' ).hide();
|
||||
|
||||
wp.customize.preview.bind( 'section-highlight', function( data ) {
|
||||
|
||||
// Only on the front page.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-RC1-39416';
|
||||
$wp_version = '4.7-RC1-39421';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue