Twenty Seventeen: Make custom header preview match front end in Customizer when changed

* Toggles `has-header-image` body class  in Customizer preview whenever images or videos are added or removed.
* Hides the `.custom-header-image`div in CSS when an image or video haven't been set so preview changes are smoother.
* Also fixes the main issues in #38391 – making the preview match.

Props bradyvercher.

Fixes #38627.
See #38391.

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


git-svn-id: http://core.svn.wordpress.org/trunk@39160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
David A. Kennedy
2016-11-14 11:23:32 +00:00
parent 65664731e9
commit f5cdba121f
3 changed files with 32 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-beta3-39219';
$wp_version = '4.7-beta3-39220';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.