[wp-trac] [WordPress Trac] #12009: Add support for HTML 5 "async" and "defer" attributes

WordPress Trac noreply at wordpress.org
Mon Jun 26 21:15:47 UTC 2023


#12009: Add support for HTML 5 "async" and "defer" attributes
----------------------------+--------------------------
 Reporter:  Otto42          |       Owner:  joemcgill
     Type:  enhancement     |      Status:  assigned
 Priority:  high            |   Milestone:  6.3
Component:  Script Loader   |     Version:  4.6
 Severity:  normal          |  Resolution:
 Keywords:  needs-dev-note  |     Focuses:  performance
----------------------------+--------------------------
Changes (by joemcgill):

 * owner:  10upsimon => joemcgill
 * status:  reopened => assigned


Comment:

 @TobiasBg the `phpcs.xml.dist` changes are intentional and related to the
 `parse_markup_fragment` method that was added to the Unit Test suite for
 in `tests/phpunit/tests/dependencies/scripts.php`. The `.jshintrc` change
 were required in an earlier iteration of this PR, but are no longer
 technically necessary. That said, I chose to include the `.jshintrc`
 changes as well, since they were discovered in the process of developing
 this PR. Are you seeing any side effects from these changes or have any
 other specific concerns?

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


More information about the wp-trac mailing list