Wordpress 4.6
[autoinstalls/wordpress.git] / wp-includes / customize / class-wp-customize-header-image-control.php
index 52d52c18d5fa9a43a38473dd449365e297920d13..9852de6ddc42fc414d6ac0393c3b9876eba81995 100644 (file)
@@ -121,15 +121,12 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
                                <# if (data.random) { #>
 
                        <div class="placeholder">
-                               <div class="inner">
-                                       <span><span class="dashicons dashicons-randomize dice"></span>
-                                       <# if ( data.type === 'uploaded' ) { #>
-                                               <?php _e( 'Randomizing uploaded headers' ); ?>
-                                       <# } else if ( data.type === 'default' ) { #>
-                                               <?php _e( 'Randomizing suggested headers' ); ?>
-                                       <# } #>
-                                       </span>
-                               </div>
+                               <span class="dashicons dashicons-randomize dice"></span>
+                               <# if ( data.type === 'uploaded' ) { #>
+                                       <?php _e( 'Randomizing uploaded headers' ); ?>
+                               <# } else if ( data.type === 'default' ) { #>
+                                       <?php _e( 'Randomizing suggested headers' ); ?>
+                               <# } #>
                        </div>
 
                                <# } else { #>
@@ -140,11 +137,7 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
                        <# } else { #>
 
                        <div class="placeholder">
-                               <div class="inner">
-                                       <span>
-                                               <?php _e( 'No image set' ); ?>
-                                       </span>
-                               </div>
+                               <?php _e( 'No image set' ); ?>
                        </div>
 
                        <# } #>
@@ -176,11 +169,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>