#52620 closed enhancement (fixed)
Add `path` data to block stylesheets to allow improving their loading method
Reported by: | aristath | Owned by: | gziolo |
---|---|---|---|
Milestone: | 5.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | performance | Cc: |
Description
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.
Change History (6)
Note: See
TracTickets for help on using
tickets.
Done in https://github.com/WordPress/wordpress-develop/pull/1035/commits/70f57cf5f0bc0548e08a280325774e29677220be 👍