X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..607b7e02d77e7326161e8ec15639052d2040f745:/wp-includes/customize/class-wp-customize-header-image-control.php 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 52d52c18..9852de6d 100644 --- a/wp-includes/customize/class-wp-customize-header-image-control.php +++ b/wp-includes/customize/class-wp-customize-header-image-control.php @@ -121,15 +121,12 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { <# if (data.random) { #>
-
- - <# if ( data.type === 'uploaded' ) { #> - - <# } else if ( data.type === 'default' ) { #> - - <# } #> - -
+ + <# if ( data.type === 'uploaded' ) { #> + + <# } else if ( data.type === 'default' ) { #> + + <# } #>
<# } else { #> @@ -140,11 +137,7 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { <# } else { #>
-
- - - -
+
<# } #> @@ -176,11 +169,20 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {

Add new image, your theme recommends a header size of %s × %s pixels.' ), $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.' ), + sprintf( '%s × %s', $width, $height ) + ); } elseif ( $width ) { - printf( __( 'While you can crop images to your liking after clicking Add new image, your theme recommends a header width of %s pixels.' ), $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.' ), + sprintf( '%s', $width ) + ); } else { - printf( __( 'While you can crop images to your liking after clicking Add new image, your theme recommends a header height of %s pixels.' ), $height ); + /* 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.' ), + sprintf( '%s', $height ) + ); } ?>