diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/customize/class-wp-customize-header-image-control.php
--- a/wp/wp-includes/customize/class-wp-customize-header-image-control.php Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-includes/customize/class-wp-customize-header-image-control.php Fri Sep 05 18:40:08 2025 +0200
@@ -15,6 +15,7 @@
* @see WP_Customize_Image_Control
*/
class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
+
/**
* Customize control type.
*
@@ -61,7 +62,6 @@
'get_url' => 'get_header_image',
)
);
-
}
/**
@@ -130,14 +130,26 @@
<# } else { #>
<# if ( data.type === 'uploaded' ) { #>
-
+
<# } #>
<# } #>
@@ -158,7 +170,7 @@
<# } else { #>
-
+
<# } #>
<# } else { #>
@@ -200,23 +212,23 @@
%s × %s', $width, $height ) ); } elseif ( $width ) { printf( /* translators: %s: Header width in pixels. */ - __( '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.' ), + __( '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.' ), sprintf( '%s', $width ) ); } else { printf( /* translators: %s: Header height in pixels. */ - __( '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.' ), + __( '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.' ), sprintf( '%s', $height ) ); } @@ -234,7 +246,7 @@