From 8e6753ceadab17e132baf53f52f3e7fa8cc76798 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Tue, 15 Nov 2016 00:22:30 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-customize-manager.php | 7 +++++++ wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 9f5e9a69da..34aeba767d 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -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( diff --git a/wp-includes/version.php b/wp-includes/version.php index 3ee0e8881b..cdc5c8b2c0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.