[wp-trac] [WordPress Trac] #53505: `wp_should_load_separate_core_block_assets()` is confusing
WordPress Trac
noreply at wordpress.org
Thu Jun 24 18:23:31 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 | Keywords:
Focuses: |
---------------------------+--------------------
The `wp_should_load_separate_core_block_assets()` function is confusing.
There is not enough context to understand what "separate" means.
"Separate" means that the CSS assets will be loaded individually instead
of one combined asset. It's also confusing which outcome `true` or `false`
results in. This extends to the filter as well.
See the [https://wordpress.slack.com/archives/C02RQBWTW/p1624557688220700
discussion on Slack].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53505>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list