From 7a25ed21a767dac29eafc219887a69675e4f87b4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 4 Oct 2017 19:34:12 +0000 Subject: [PATCH] Customize: Improve the wording for Header Image control intro. Props michelleweber, menakas, jcc9873, melchoyce. Fixes #40431. git-svn-id: https://develop.svn.wordpress.org/trunk@41747 602fd350-edb4-49c9-b593-d223f7449a82 --- .../customize/class-wp-customize-header-image-control.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/customize/class-wp-customize-header-image-control.php b/src/wp-includes/customize/class-wp-customize-header-image-control.php index 8bf93e7df1..75cb19503d 100644 --- a/src/wp-includes/customize/class-wp-customize-header-image-control.php +++ b/src/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 ) ); }