Changeset 41747
- Timestamp:
- 10/04/2017 07:34:12 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-header-image-control.php
r41162 r41747 171 171 <?php 172 172 if ( current_theme_supports( 'custom-header', 'video' ) ) { 173 _e( ' While you can crop images to your liking after clicking <strong>Add new image</strong>, we recommend matching the size of your video.' );173 _e( 'Click “Add new image” 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.' ); 174 174 } elseif ( $width && $height ) { 175 175 /* translators: %s: header size in pixels */ 176 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.' ),176 printf( __( 'Click “Add new image” 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.' ), 177 177 sprintf( '<strong>%s × %s</strong>', $width, $height ) 178 178 ); 179 179 } elseif ( $width ) { 180 180 /* translators: %s: header width in pixels */ 181 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.' ),181 printf( __( 'Click “Add new image” 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.' ), 182 182 sprintf( '<strong>%s</strong>', $width ) 183 183 ); 184 184 } else { 185 185 /* translators: %s: header height in pixels */ 186 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.' ),186 printf( __( 'Click “Add new image” 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.' ), 187 187 sprintf( '<strong>%s</strong>', $height ) 188 188 );
Note: See TracChangeset
for help on using the changeset viewer.