Make WordPress Core

Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#58809 closed enhancement (invalid)

Allow inlining certain blocks CSS, instead of enqueuing externally

Reported by: asafm7's profile asafm7 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Script Loader Keywords:
Focuses: performance Cc:

Description

Allow inlining certain blocks CSS, instead of enqueuing externally.

To minimize CLS while minimizing render-blocking time.

For example, in the case of the navigation block.

Change History (2)

#1 @asafm7
8 months ago

  • Resolution set to invalid
  • Status changed from new to closed

I see it can be done with wp_maybe_inline_styles()

#2 @swissspidy
8 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.