[wp-trac] [WordPress Trac] #58810: Allow giving priority to a block style for wp_maybe_inline_styles()

WordPress Trac noreply at wordpress.org
Fri Jul 14 14:28:05 UTC 2023


#58810: Allow giving priority to a block style for wp_maybe_inline_styles()
---------------------------+-----------------------------
 Reporter:  asafm7         |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Script Loader  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:  performance    |
---------------------------+-----------------------------
 Use case:

 The navigation block style is skipped in wp_maybe_inline_styles(),
 because, together with smaller style sheets, it exceeds the size
 thresholds. Unless otherwise inlined, it creates either a render-blocking
 issue or a CLS issue.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58810>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list