Make WordPress Core

Ticket #40308: patch.diff

File patch.diff, 533 bytes (added by pratikshrestha, 7 years ago)

Attaching the patch

  • class-wp-customize-manager.php

     
    39593959                        'type'           => 'url',
    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
    39653965                $this->add_control( new WP_Customize_Header_Image_Control( $this ) );