Rename load_separate_block_styles to load_separate_block_assets#29703
Rename load_separate_block_styles to load_separate_block_assets#29703
Conversation
|
Size Change: 0 B Total Size: 1.4 MB ℹ️ View Unchanged
|
gziolo
left a comment
There was a problem hiding this comment.
Thank you for a quick fix 👍🏻
Do you think it needs some proxy with deprecation in case someone was using the filter?
I don't think so... This was part of FSE so by definition experimental 😄 |
|
Yes, let's merge as is 👍🏻 |
|
The failing test is not related to this PR so I'll go ahead and merge it 👍 |
Description
This PR renames a filter and a function from _styles
to_assets`. These will be used for scripts as well, so their name needs to be less specific and cover both cases.load_separate_block_stylesfilter toload_separate_block_assetsgutenberg_should_load_separate_block_stylesfunction togutenberg_should_load_separate_block_assetsChecklist: