[wp-trac] [WordPress Trac] #53232: Add async decoding attribute as default to the HTML image tags generated by WordPress

WordPress Trac noreply at wordpress.org
Fri Oct 29 17:05:53 UTC 2021


#53232: Add async decoding attribute as default to the HTML image tags generated by
WordPress
-----------------------------+--------------------------
 Reporter:  isaumya          |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  5.9
Component:  Media            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  performance
-----------------------------+--------------------------
Changes (by westonruter):

 * keywords:  needs-patch => has-patch


Comment:

 I've drafted a patch.

 I based it off of the [https://github.com/WordPress/wordpress-
 develop/pull/1580 pull request] for #53675, so I haven't opened a PR yet
 since it is not yet committed.

 Commit on GitHub: https://github.com/westonruter/wordpress-
 develop/commit/61d904c1f4e48363d4d2622cc47b8e09c611a75c

 Note that most of the test changes are to make testing work on more
 environments, specifically where the `wp-content` directory is not in the
 standard location.

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


More information about the wp-trac mailing list