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:
Andrew Nacin 2014-04-19 19:44:43 +00:00
parent 29a1d6fe13
commit 55a3551646
1 changed files with 3 additions and 3 deletions

View File

@ -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 &times; %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 &times; %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>