Ticket #40431: 40431.patch
File 40431.patch, 2.5 KB (added by , 7 years ago) |
---|
-
src/wp-includes/customize/class-wp-customize-header-image-control.php
173 173 <p class="customizer-section-intro customize-control-description"> 174 174 <?php 175 175 if ( current_theme_supports( 'custom-header', 'video' ) ) { 176 _e( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, we recommend matching the size of your video.');176 _e( 'Click <strong>“Add new image”</strong> to upload an image file from your computer. Your theme works best with an image that matches the size of your video — you’ll be able to crop your image once you upload it for a perfect fit.'); 177 177 } elseif ( $width && $height ) { 178 178 /* translators: %s: header size in pixels */ 179 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.' ),179 printf( __( 'Click <strong>“Add new image”</strong> to upload an image file from your computer. Your theme works best with an image with a header size of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), 180 180 sprintf( '<strong>%s × %s</strong>', $width, $height ) 181 181 ); 182 182 } elseif ( $width ) { 183 183 /* translators: %s: header width in pixels */ 184 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.' ),184 printf( __( 'Click <strong>“Add new image”</strong> to upload an image file from your computer. Your theme works best with an image with a header width of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), 185 185 sprintf( '<strong>%s</strong>', $width ) 186 186 ); 187 187 } else { 188 188 /* translators: %s: header height in pixels */ 189 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.' ),189 printf( __( 'Click <strong>“Add new image”</strong> to upload an image file from your computer. Your theme works best with an image with a header height of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), 190 190 sprintf( '<strong>%s</strong>', $height ) 191 191 ); 192 192 }