Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #54529


Ignore:
Timestamp:
11/29/2021 05:52:56 AM (3 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54529

    • Property Keywords has-patch has-unit-tests added
  • Ticket #54529 – Description

    initial v2  
    2828(note: not tested, just written in trac)
    2929
    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.
     30I'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.
    3131
    3232This 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).