[wp-trac] [WordPress Trac] #40057: Double hashed value for background-color of body.background-color

WordPress Trac noreply at wordpress.org
Wed Mar 13 00:59:01 UTC 2019


#40057: Double hashed value for background-color of body.background-color
---------------------------------+------------------------------
 Reporter:  hovhanneshovakimyan  |       Owner:  (none)
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Awaiting Review
Component:  Themes               |     Version:  4.7.3
 Severity:  normal               |  Resolution:
 Keywords:                       |     Focuses:
---------------------------------+------------------------------

Comment (by joyously):

 This still exists in 5.1, although it's only a problem if the theme tries
 to handle the color separately.

 Possible fix ''(line 1633 of theme.php from 5.1)'':
 `$style = $color ? 'background-color: ' . maybe_hash_hex_color( $color ) .
 ';' : '';`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/40057#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list