Changes between Initial Version and Version 1 of Ticket #54529, comment 6
- Timestamp:
- 12/02/2021 11:01:27 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54529, comment 6
initial v1 1 1 The patch/PR looks good here, scripts can be enqueued and dequeued (by "handle") before they are registered. 2 3 > This also doesn't deal with certain functions, like wp_add_inline_style() that attach data to an existing registered item. 4 5 Thinking that's okay. Enqueueing is often used as one-step registering + enqueueing. Then adding before/after should work. When doing two steps: registering and then enqueueing the before/after should always be addedafter the registering and seems it's going to work with this patch.