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

See #38172.

Built from https://develop.svn.wordpress.org/trunk@39234


git-svn-id: http://core.svn.wordpress.org/trunk@39174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2016-11-15 00:22:30 +00:00
parent a69d66bac3
commit 8e6753cead
2 changed files with 8 additions and 1 deletions

View File

@ -3478,6 +3478,13 @@ final class WP_Customize_Manager {
'description' => $control_description, 'description' => $control_description,
'section' => 'header_image', 'section' => 'header_image',
'mime_type' => 'video', '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( $this->add_control( 'external_header_video', array(

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-beta3-39233'; $wp_version = '4.7-beta3-39234';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.