[wp-trac] [WordPress Trac] #56969: decoding="async" breaks my site
WordPress Trac
noreply at wordpress.org
Fri Nov 11 00:59:35 UTC 2022
#56969: decoding="async" breaks my site
-------------------------------------------------+-------------------------
Reporter: rodricus | Owner:
| adamsilverstein
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1.1
Component: Media | Version: 6.1
Severity: normal | Resolution: fixed
Keywords: reporter-feedback has-patch has- | Focuses:
unit-tests dev-feedback commit | performance
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"54802" 54802]:
{{{
#!CommitTicketReference repository="" revision="54802"
Media: Prevent decoding attribute corrupting JSON data.
Workaround `wp_img_tag_add_decoding_attr()` potentially breaking
JavaScript and JSON data by limiting the addition of the decoding
attribute to image tags using unescaped double quoted attributes `src`
attributes.
Props rodricus, TimothyBlynJacobs, joelmadigan, mw108, adamsilverstein,
flixos90, desrosj, mukesh27.
Fixes #56969.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56969#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list