mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user