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

WordPress Trac noreply at wordpress.org
Fri Jan 3 09:18:09 UTC 2025


#40057: Double hashed value for background-color of body.background-color
-------------------------------------+---------------------
 Reporter:  hovhanneshovakimyan      |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.8
Component:  Themes                   |     Version:  4.7.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------
Changes (by poena):

 * keywords:  has-patch => has-patch needs-testing
 * milestone:  Awaiting Review => 6.8


Comment:

 Testing instructions:

 Add a hashed color code to the background color theme mod, for example in
 functions.php of your **classic** test theme:
 {{{
 set_theme_mod( 'background_color', '#cc0000' );
 }}}

 Activate the theme and view the front of the site. Confirm that the
 background color is used.
 Next, activate a different theme, and open the **Live Preview** of the
 theme you changed. The background color should be correct also in the live
 preview.
 Activate the theme and open the Customizer. Confirm that it is still
 possible to adjust the background color using the Customizer option.

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


More information about the wp-trac mailing list