[wp-trac] [WordPress Trac] #63007: Bundled themes: Stylesheets for block themes are missing path data for inlining

WordPress Trac noreply at wordpress.org
Tue Feb 25 17:27:44 UTC 2025


#63007: Bundled themes: Stylesheets for block themes are missing path data for
inlining
-----------------------------------+-------------------------------
 Reporter:  westonruter            |       Owner:  westonruter
     Type:  enhancement            |      Status:  accepted
 Priority:  normal                 |   Milestone:  6.9
Component:  Bundled Theme          |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  css, performance
-----------------------------------+-------------------------------

Comment (by westonruter):

 Replying to [comment:16 poena]:
 > What happens when a user takes Twenty Twenty-Five, makes some changes in
 the Site Editor, exports it, renames it and then adds new CSS to
 style.css? That is not a unique or rare use case. Block themes are built
 using a different perspective, they are meant to be extended by users not
 only developers.

 As I understand, changes to a block theme in the Site Editor do not result
 in changing any CSS file in the theme. Changes in the Site Editor result
 in changes to "Global Styles" which are not actual files but get
 dynamically rendered inline by PHP already. As far as I know, the only way
 a `style.css` file is modified is via the Theme File Editor, same as in a
 classic theme and same as any other theme file, whether CSS, PHP, or JS.
 (I could be wrong!)

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


More information about the wp-trac mailing list