- Timestamp:
- 02/08/2025 11:42:29 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-header-image-control.php
r56548 r59784 213 213 <?php 214 214 if ( current_theme_supports( 'custom-header', 'video' ) ) { 215 _e( 'Click “Add NewImage” 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.' );215 _e( 'Click “Add 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 216 } elseif ( $width && $height ) { 217 217 printf( 218 218 /* translators: %s: Header size in pixels. */ 219 __( 'Click “Add NewImage” 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.' ),219 __( 'Click “Add 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 220 sprintf( '<strong>%s × %s</strong>', $width, $height ) 221 221 ); … … 223 223 printf( 224 224 /* translators: %s: Header width in pixels. */ 225 __( 'Click “Add NewImage” 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.' ),225 __( 'Click “Add 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 226 sprintf( '<strong>%s</strong>', $width ) 227 227 ); … … 229 229 printf( 230 230 /* translators: %s: Header height in pixels. */ 231 __( 'Click “Add NewImage” 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.' ),231 __( 'Click “Add 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 232 sprintf( '<strong>%s</strong>', $height ) 233 233 ); … … 247 247 <?php if ( current_user_can( 'upload_files' ) ) : ?> 248 248 <button type="button"<?php echo $visibility; ?> class="button remove" aria-label="<?php esc_attr_e( 'Hide header image' ); ?>"><?php _e( 'Hide image' ); ?></button> 249 <button type="button" class="button new" id="header_image-button" aria-label="<?php esc_attr_e( 'Add New Header Image' ); ?>"><?php _e( 'Add NewImage' ); ?></button>249 <button type="button" class="button new" id="header_image-button" aria-label="<?php esc_attr_e( 'Add Header Image' ); ?>"><?php _e( 'Add Image' ); ?></button> 250 250 <?php endif; ?> 251 251 </div>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)