diff --git src/wp-includes/class-wp-customize-manager.php src/wp-includes/class-wp-customize-manager.php
index 81bd4d1..14f8ab8 100644
|
|
final class WP_Customize_Manager { |
3407 | 3407 | |
3408 | 3408 | if ( current_theme_supports( 'custom-header', 'video' ) ) { |
3409 | 3409 | $title = __( 'Header Media' ); |
3410 | | $description = __( 'If you add a video, the image will be used as a fallback while the video loads.' ); |
| 3410 | $description = __( 'If you add a video, the image will be used as a fallback while the video loads. Videos only appear on the front page.' ); |
3411 | 3411 | $width = absint( get_theme_support( 'custom-header', 'width' ) ); |
3412 | 3412 | $height = absint( get_theme_support( 'custom-header', 'height' ) ); |
3413 | 3413 | if ( $width && $height ) { |
… |
… |
final class WP_Customize_Manager { |
3474 | 3474 | 'description' => $control_description, |
3475 | 3475 | 'section' => 'header_image', |
3476 | 3476 | 'mime_type' => 'video', |
| 3477 | 'active_callback'=> 'is_front_page', |
3477 | 3478 | ) ) ); |
3478 | 3479 | |
3479 | 3480 | $this->add_control( 'external_header_video', array( |
… |
… |
final class WP_Customize_Manager { |
3481 | 3482 | 'type' => 'url', |
3482 | 3483 | 'description' => __( 'Or, enter a YouTube URL:' ), |
3483 | 3484 | 'section' => 'header_image', |
| 3485 | 'active_callback'=> 'is_front_page', |
3484 | 3486 | ) ); |
3485 | 3487 | |
3486 | 3488 | $this->add_control( new WP_Customize_Header_Image_Control( $this ) ); |