Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #12009, comment 115


Ignore:
Timestamp:
05/29/2023 11:07:34 AM (17 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12009, comment 115

    v1 v2  
    4343Yea, this is a lofty goal but unfortunately there is no 100% backwards compatibility. Since the loading order of "async" scripts is undetermined, they are not backwards compatible when used as dependency.
    4444
    45 Yea, I know this was discussed above and the decision was to "leave it to the plugins to decide what to do about it". Not having support for "script after" is inline with that decision.
     45I know this was discussed above and the decision was to "leave it to the plugins to decide what to do about it". Not having support for "script after" is inline with that decision.
    4646
    4747So the TL;DR: for "script after" support for "async" and "defer" scripts: