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

WordPress Trac noreply at wordpress.org
Wed Aug 2 16:50:13 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         |  Resolution:
 Keywords:                 |     Focuses:  performance
---------------------------+------------------------------

Comment (by flixos90):

 I agree with @westonruter here, I don't think there's a CLS issue? The
 stylesheet is still loaded in `<head>`, correct? If so, this is only about
 render-blocking, in which case I don't see a good reason to change the
 current heuristics, given there's no significant impact from just that.

 It would only be a CLS problem if the file was otherwise loaded in the
 footer, but I don't think that's the case. So maybe this is a `wontfix`?

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


More information about the wp-trac mailing list