Changes between Initial Version and Version 2 of Ticket #54529
- Timestamp:
- 11/29/2021 05:52:56 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54529
- Property Keywords has-patch has-unit-tests added
-
Ticket #54529 – Description
initial v2 28 28 (note: not tested, just written in trac) 29 29 30 I'm not convinced this is a perfect option to take, and FSE might be able to adjust how it's template loading is done, but it's done in the current way '''specifically''' so that plugins can enqueue scripts/styles into the header.30 I'm not convinced this is a perfect option to take, and FSE might be able to adjust how it's template loading is done, but it's done in the current way '''specifically''' so that blocks can enqueue scripts/styles into the header. 31 31 32 32 This also doesn't deal with certain functions, like `wp_add_inline_style()` that attach data to an existing registered item, only dealing with the enqueue happening before a register (or 'add' in WP_Dependancy terms).