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.

git-svn-id: https://develop.svn.wordpress.org/trunk@38989 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Joe McGill 2016-10-28 01:50:41 +00:00
parent d3328e2925
commit f43f3c00c2
1 changed files with 1 additions and 1 deletions

View File

@ -3782,7 +3782,7 @@ final class WP_Customize_Manager {
* @return array * @return array
*/ */
public function export_header_video_settings( $response, $selective_refresh, $partials ) { 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(); $response['custom_header_settings'] = get_header_video_settings();
} }