Changeset 59813
- Timestamp:
- 02/11/2025 09:05:00 PM (2 months ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-custom-background.php
r59554 r59813 289 289 $bgcolor = get_background_color(); 290 290 if ( $bgcolor ) { 291 $background_styles .= 'background-color: #' . $bgcolor. ';';291 $background_styles .= 'background-color: ' . maybe_hash_hex_color( $bgcolor ) . ';'; 292 292 } 293 293 -
trunk/src/wp-includes/theme.php
r58975 r59813 1894 1894 } 1895 1895 1896 $style = $color ? "background-color: #$color;": '';1896 $style = $color ? 'background-color: ' . maybe_hash_hex_color( $color ) . ';' : ''; 1897 1897 1898 1898 if ( $background ) {
Note: See TracChangeset
for help on using the changeset viewer.