Customizer: Correct reference to the 'Add new image' button.
props jjeaton. see #27890, for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@28170 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
29a1d6fe13
commit
55a3551646
|
@ -853,11 +853,11 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
|
||||||
<p class="customizer-section-intro">
|
<p class="customizer-section-intro">
|
||||||
<?php
|
<?php
|
||||||
if ( $width && $height ) {
|
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 ) {
|
} 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 {
|
} 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>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue