[wp-trac] [WordPress Trac] #52620: Add `path` data to block stylesheets to allow improving their loading method
WordPress Trac
noreply at wordpress.org
Tue Feb 23 07:11:19 UTC 2021
#52620: Add `path` data to block stylesheets to allow improving their loading
method
-------------------------+-----------------------------
Reporter: aristath | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: performance |
-------------------------+-----------------------------
In Gutenberg we recently merged PR
https://github.com/WordPress/gutenberg/pull/28358 to improve loading
stylesheets for blocks.
As noted in comment
https://github.com/WordPress/gutenberg/pull/28358#commitcomment-46742341
we need to also tweak the `register_block_style_handle` function to allow
3rd-party blocks to take advantage of these improvements.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52620>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list