Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #54529, comment 6


Ignore:
Timestamp:
12/02/2021 11:06:47 PM (3 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54529, comment 6

    v1 v2  
    33> This also doesn't deal with certain functions, like wp_add_inline_style() that attach data to an existing registered item.
    44
    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.
     5Thinking 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 added after the registering and seems it's going to work with this patch.