diff -r 48c4eec2b7e6 -r 8c2e4d02f4ef wp/wp-admin/includes/class-custom-image-header.php --- a/wp/wp-admin/includes/class-custom-image-header.php Fri Sep 05 18:40:08 2025 +0200 +++ b/wp/wp-admin/includes/class-custom-image-header.php Fri Sep 05 18:52:52 2025 +0200 @@ -17,24 +17,24 @@ /** * Callback for administration header. * + * @since 2.1.0 * @var callable - * @since 2.1.0 */ public $admin_header_callback; /** * Callback for header div. * + * @since 3.0.0 * @var callable - * @since 3.0.0 */ public $admin_image_div_callback; /** * Holds default headers. * + * @since 3.0.0 * @var array - * @since 3.0.0 */ public $default_headers = array(); @@ -664,7 +664,7 @@ - +

' . __( 'Something went wrong.' ) . '' . - '

' . __( 'The active theme does not support uploading a custom header image.' ) . '

', + '

' . __( 'An error occurred while processing your header image.' ) . '

' . + '

' . __( 'The active theme does not support uploading a custom header image. Please ensure your theme supports custom headers and try again.' ) . '

', 403 ); } @@ -1018,8 +1018,8 @@ if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) { wp_die( - '

' . __( 'Something went wrong.' ) . '

' . - '

' . __( 'The active theme does not support uploading a custom header image.' ) . '

', + '

' . __( 'An error occurred while processing your header image.' ) . '

' . + '

' . __( 'The active theme does not support uploading a custom header image. Please ensure your theme supports custom headers and try again.' ) . '

', 403 ); } @@ -1029,7 +1029,7 @@ && ! current_theme_supports( 'custom-header', 'flex-width' ) ) { wp_die( - '

' . __( 'Something went wrong.' ) . '

' . + '

' . __( 'An error occurred while processing your header image.' ) . '

' . '

' . __( 'The active theme does not support a flexible sized header image.' ) . '

', 403 );