[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 13:50:49 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  |     Focuses:
-------------------------------------+-------------------------------
Changes (by jorgefilipecosta):

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


Comment:

 In [changeset:"52675" 52675]:
 {{{
 #!CommitTicketReference repository="" revision="52675"
 Fix: Classic themes using default presets are not working.

 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 overwrites a core preset, the core CSS
 variables are also overwritten and use the theme value.

 Props oandregal, hellofromTonya, desrosj, costdev, pbearne,
 johnstonphilip, webmandesign.
 Fixes #54782.
 }}}

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


More information about the wp-trac mailing list