mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Customizer: Correct reference to the 'Add new image' button.
props jjeaton. see #27890, for trunk. Built from https://develop.svn.wordpress.org/trunk@28170 git-svn-id: http://core.svn.wordpress.org/trunk@28001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d9cf41cfcf
commit
ea8635a465
@ -853,11 +853,11 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
|
||||
<p class="customizer-section-intro">
|
||||
<?php
|
||||
if ( $width && $height ) {
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header size of <strong>%s × %s</strong> pixels.' ), $width, $height );
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header size of <strong>%s × %s</strong> pixels.' ), $width, $height );
|
||||
} elseif ( $width ) {
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header width of <strong>%s</strong> pixels.' ), $width );
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header width of <strong>%s</strong> pixels.' ), $width );
|
||||
} else {
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header height of <strong>%s</strong> pixels.' ), $height );
|
||||
printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header height of <strong>%s</strong> pixels.' ), $height );
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user