[wp-trac] [WordPress Trac] #54782: Default presets in use by default themes need to be updated

WordPress Trac noreply at wordpress.org
Fri Feb 4 14:46:41 UTC 2022


#54782: Default presets in use by default themes need to be updated
--------------------------------------------+------------------------------
 Reporter:  oandregal                       |       Owner:
                                            |  jorgefilipecosta
     Type:  defect (bug)                    |      Status:  closed
 Priority:  normal                          |   Milestone:  5.9.1
Component:  Bundled Theme                   |     Version:  5.9
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  has-patch needs-testing commit  |     Focuses:
--------------------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52678" 52678]:
 {{{
 #!CommitTicketReference repository="" revision="52678"
 Themes: Fix for Classic themes using default presets.

 This commit makes the presets provided by the theme via
 `add_theme_support()` always create CSS Custom Properties, whether or not
 the theme has a `theme.json` file. This way, if the theme overwrites a
 core preset, the core CSS variables are also overwritten and use the theme
 value.

 Props oandregal, hellofromTonya, desrosj, costdev, pbearne,
 johnstonphilip, webmandesign, jorgefilipecosta, SergeyBiryukov.
 Merges [52675-52677] to the 5.9 branch.
 Fixes #54782.
 }}}

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


More information about the wp-trac mailing list