From dd4ea3c038010ee4a0d07f5d3ee4ffc968e9550f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 4 Oct 2017 19:35:47 +0000 Subject: [PATCH] Customize: Improve the wording for Header Image control intro. Props michelleweber, menakas, jcc9873, melchoyce. Fixes #40431. Built from https://develop.svn.wordpress.org/trunk@41747 git-svn-id: http://core.svn.wordpress.org/trunk@41581 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../customize/class-wp-customize-header-image-control.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/customize/class-wp-customize-header-image-control.php b/wp-includes/customize/class-wp-customize-header-image-control.php index 8bf93e7df1..75cb19503d 100644 --- a/wp-includes/customize/class-wp-customize-header-image-control.php +++ b/wp-includes/customize/class-wp-customize-header-image-control.php @@ -170,20 +170,20 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {

Add new image, we recommend matching the size of your video.' ); + _e( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image that matches the size of your video — you’ll be able to crop your image once you upload it for a perfect fit.' ); } elseif ( $width && $height ) { /* translators: %s: header size in pixels */ - printf( __( 'While you can crop images to your liking after clicking Add new image, your theme recommends a header size of %s pixels.' ), + printf( __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header size of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), sprintf( '%s × %s', $width, $height ) ); } elseif ( $width ) { /* translators: %s: header width in pixels */ - printf( __( 'While you can crop images to your liking after clicking Add new image, your theme recommends a header width of %s pixels.' ), + printf( __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header width of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), sprintf( '%s', $width ) ); } else { /* translators: %s: header height in pixels */ - printf( __( 'While you can crop images to your liking after clicking Add new image, your theme recommends a header height of %s pixels.' ), + printf( __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header height of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), sprintf( '%s', $height ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 50a2378573..d43a28e94d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41746'; +$wp_version = '4.9-alpha-41747'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.