WordPress.org

Make WordPress Core

#49665 closed enhancement (wontfix)

Twenty Twenty: Minify style.css

Reported by: beenni09052005 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: close
Focuses: css Cc:

Description

The style.css of the twenty-twenty theme can be minified.
To edit it in Theme-Editor, you can keep a unminified version, and when the user saves the changes, this version can be minfied and used in production.

Then there are 2 files style.css (editable in the Theme-Editor) and style.min.css (used in production on the website)

Change History (3)

#1 @audrasjb
18 months ago

  • Component changed from General to Bundled Theme
  • Focuses css added

#2 @audrasjb
18 months ago

  • Keywords close added

Hi @beenni09052005 and welcome to WordPress Trac!

Unfortunately, there is currently no mecanism to minify files in a theme after edition in the Theme Editor.
For the moment, file minification/concatenation falls under plugin s territory.

Last edited 18 months ago by audrasjb (previous) (diff)

#3 @ianbelanger
18 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
  • Summary changed from Minify twenty-twenty style.css to Twenty Twenty: Minify style.css

@audrasjb is correct

There is currently no mechanism to minify files in a theme after edition in the Theme Editor.

I'm going to close this ticket as stylesheet minification is plugin territory.

Note: See TracTickets for help on using tickets.