- Timestamp:
- 09/05/2023 07:24:31 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-header-image-control.php
r55276 r56515 214 214 <?php 215 215 if ( current_theme_supports( 'custom-header', 'video' ) ) { 216 _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.' );216 _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.' ); 217 217 } elseif ( $width && $height ) { 218 218 printf( 219 219 /* translators: %s: Header size in pixels. */ 220 __( '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.' ),220 __( '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.' ), 221 221 sprintf( '<strong>%s × %s</strong>', $width, $height ) 222 222 ); … … 224 224 printf( 225 225 /* translators: %s: Header width in pixels. */ 226 __( '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.' ),226 __( '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.' ), 227 227 sprintf( '<strong>%s</strong>', $width ) 228 228 ); … … 230 230 printf( 231 231 /* translators: %s: Header height in pixels. */ 232 __( '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.' ),232 __( '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.' ), 233 233 sprintf( '<strong>%s</strong>', $height ) 234 234 ); … … 248 248 <?php if ( current_user_can( 'upload_files' ) ) : ?> 249 249 <button type="button"<?php echo $visibility; ?> class="button remove" aria-label="<?php esc_attr_e( 'Hide header image' ); ?>"><?php _e( 'Hide image' ); ?></button> 250 <button type="button" class="button new" id="header_image-button" aria-label="<?php esc_attr_e( 'Add new header image' ); ?>"><?php _e( 'Add new image' ); ?></button>250 <button type="button" class="button new" id="header_image-button" aria-label="<?php esc_attr_e( 'Add New Header Image' ); ?>"><?php _e( 'Add New Image' ); ?></button> 251 251 <?php endif; ?> 252 252 </div>
Note: See TracChangeset
for help on using the changeset viewer.