[wp-trac] [WordPress Trac] #54018: Allow scripts registered via block.json to be enqueued in the footer

WordPress Trac noreply at wordpress.org
Tue Jul 11 15:37:33 UTC 2023


#54018: Allow scripts registered via block.json to be enqueued in the footer
---------------------------+------------------------------
 Reporter:  jeremyfelt     |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  performance
---------------------------+------------------------------

Comment (by westonruter):

 Now that script loading strategies (async & defer) are landing finally in
 6.3 (#12009), the scope of this ticket should expand to not only allow
 block view scripts to be printed in the footer but also to get
 async/defer. Ideally block view scripts would be defer by default (which I
 understand is also the vision of the Interactivity API via modules).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54018#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list