]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/customize/class-wp-customize-header-image-control.php
WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / customize / class-wp-customize-header-image-control.php
index 52d52c18d5fa9a43a38473dd449365e297920d13..8bbb572b8f0079e63e56417be4587cfd513ce2df 100644 (file)
@@ -176,11 +176,20 @@ 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 image</strong>, your theme recommends a header size of <strong>%s &times; %s</strong> pixels.' ), $width, $height );
+                                       /* translators: %s: header size in pixels */
+                                       printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header size of %s pixels.' ),
+                                               sprintf( '<strong>%s &times; %s</strong>', $width, $height )
+                                       );
                                } elseif ( $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 );
+                                       /* translators: %s: header width in pixels */
+                                       printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header width of %s pixels.' ),
+                                               sprintf( '<strong>%s</strong>', $width )
+                                       );
                                } else {
-                                       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 );
+                                       /* translators: %s: header height in pixels */
+                                       printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header height of %s pixels.' ),
+                                               sprintf( '<strong>%s</strong>', $height )
+                                       );
                                }
                                ?>
                        </p>