Customize: Use video-specific labels for buttons in Header Video media control.

See #38172.


git-svn-id: https://develop.svn.wordpress.org/trunk@39234 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter
2016-11-15 00:21:33 +00:00
parent ad0dae996e
commit 32325e8e1d

View File

@@ -3478,6 +3478,13 @@ final class WP_Customize_Manager {
'description' => $control_description,
'section' => 'header_image',
'mime_type' => 'video',
'button_labels' => array(
'select' => __( 'Select Video' ),
'change' => __( 'Change Video' ),
'placeholder' => __( 'No video selected' ),
'frame_title' => __( 'Select Video' ),
'frame_button' => __( 'Choose Video' ),
)
) ) );
$this->add_control( 'external_header_video', array(