Customizer: Fix name of a partial in `export_header_video_settings()`
Following [38985], this updates a check for partials being set in `export_header_video_settings()` to use the correct name. Props bradyvercher. See #38172. Built from https://develop.svn.wordpress.org/trunk@38989 git-svn-id: http://core.svn.wordpress.org/trunk@38932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
69c8c4ede0
commit
f9f6dd7958
|
@ -3782,7 +3782,7 @@ final class WP_Customize_Manager {
|
|||
* @return array
|
||||
*/
|
||||
public function export_header_video_settings( $response, $selective_refresh, $partials ) {
|
||||
if ( isset( $partials['header_video'] ) || isset( $partials['external_header_video'] ) ) {
|
||||
if ( isset( $partials['custom_header'] ) ) {
|
||||
$response['custom_header_settings'] = get_header_video_settings();
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38988';
|
||||
$wp_version = '4.7-alpha-38989';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue