[wp-trac] [WordPress Trac] #53505: `wp_should_load_separate_core_block_assets()` is confusing
WordPress Trac
noreply at wordpress.org
Tue Jun 29 12:48:37 UTC 2021
#53505: `wp_should_load_separate_core_block_assets()` is confusing
---------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.8
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+---------------------
Comment (by desrosj):
Thanks everyone! This is much better. I still don't love the function
name, but a better alternative is not coming to mind.
[attachment:"53505.2.diff"] has some small tweaks to [51256] to refer to
assets more instead of stylesheet as the plan is to use this for scripts
as well. It also copies some of the improvements already made to the
`should_load_separate_core_block_assets` filter docblock.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53505#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list