diff -r 48c4eec2b7e6 -r 8c2e4d02f4ef wp/wp-admin/includes/class-custom-background.php --- a/wp/wp-admin/includes/class-custom-background.php Fri Sep 05 18:40:08 2025 +0200 +++ b/wp/wp-admin/includes/class-custom-background.php Fri Sep 05 18:52:52 2025 +0200 @@ -17,16 +17,16 @@ /** * Callback for administration header. * + * @since 3.0.0 * @var callable - * @since 3.0.0 */ public $admin_header_callback; /** * Callback for header div. * + * @since 3.0.0 * @var callable - * @since 3.0.0 */ public $admin_image_div_callback; @@ -288,7 +288,7 @@ $background_styles = ''; $bgcolor = get_background_color(); if ( $bgcolor ) { - $background_styles .= 'background-color: #' . $bgcolor . ';'; + $background_styles .= 'background-color: ' . maybe_hash_hex_color( $bgcolor ) . ';'; } $background_image_thumb = get_background_image(); @@ -354,7 +354,7 @@ - +