Make WordPress Core


Ignore:
Timestamp:
10/28/2016 01:50:41 AM (8 years ago)
Author:
joemcgill
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r38985 r38989  
    37833783     */
    37843784    public function export_header_video_settings( $response, $selective_refresh, $partials ) {
    3785         if ( isset( $partials['header_video'] ) || isset( $partials['external_header_video'] ) ) {
     3785        if ( isset( $partials['custom_header'] ) ) {
    37863786            $response['custom_header_settings'] = get_header_video_settings();
    37873787        }
Note: See TracChangeset for help on using the changeset viewer.