Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #12009, comment 112


Ignore:
Timestamp:
05/22/2023 01:04:28 AM (13 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12009, comment 112

    initial v1  
    11Replying to [comment:111 joemcgill]:
     2
     3Think I understand where you're coming from, the desire to add support for all possible cases. That's not a bad way to look at it. However each way of loading scripts has its specifics which should be reflected in the Script Loader API imho. For example it looks like "after" scripts for `async` and `defer` scripts should be implemented in the scripts themselves, not in PHP.
     4
    25> @azaozz, it seems like the crux of your concern is not whether WP should support `async` scripts, but instead whether this should be part of the Script loader API or handled by some other means.
    36