[wp-trac] [WordPress Trac] #49665: Twenty Twenty: Minify style.css
WordPress Trac
noreply at wordpress.org
Mon Feb 24 17:14:11 UTC 2025
#49665: Twenty Twenty: Minify style.css
----------------------------+----------------------
Reporter: beenni09052005 | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Bundled Theme | Version:
Severity: normal | Resolution: wontfix
Keywords: close | Focuses: css
----------------------------+----------------------
Comment (by sabernhardt):
Classic themes from Twenty Ten to Twenty Twenty call
`get_stylesheet_uri()` for their main stylesheets, so a child theme's
`style.css` would replace its parent stylesheet.
I expect that a patch would need an `is_child_theme()` check to avoid
looking for a minified file in the child theme directory (and/or printing
the parent stylesheet inline).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49665#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list