Make WordPress Core

Opened 22 months ago

Closed 22 months ago

Last modified 22 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
22 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
22 months ago

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