WordPress.org

Make WordPress Core

Changeset 40379


Ignore:
Timestamp:
04/05/17 23:09:29 (3 months ago)
Author:
westonruter
Message:

Customize: Use is_header_video_active() as active_callback for external_header_video control instead of is_front_page().

Use the same active_callback as was supplied previously for the header_video control in [39240] where this instance was missed.

Amends [39240].
Props pratikshrestha.
See #38738.
Fixes #40308.

File:
1 edited

Legend:

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

    r40349 r40379  
    39603960            'description'    => __( 'Or, enter a YouTube URL:' ), 
    39613961            'section'        => 'header_image', 
    3962             'active_callback'=> 'is_front_page', 
     3962            'active_callback' => 'is_header_video_active', 
    39633963        ) ); 
    39643964 
Note: See TracChangeset for help on using the changeset viewer.