[wp-trac] [WordPress Trac] #34898: Responsive images broken on edited/imported content
WordPress Trac
noreply at wordpress.org
Mon Dec 7 20:28:40 UTC 2015
#34898: Responsive images broken on edited/imported content
-----------------------------+---------------------------
Reporter: kovshenin | Owner: mikeschroder
Type: defect (bug) | Status: closed
Priority: highest omg bbq | Milestone: 4.4
Component: Media | Version: trunk
Severity: blocker | Resolution: fixed
Keywords: has-patch | Focuses:
-----------------------------+---------------------------
Comment (by ocean90):
In [changeset:"35821"]:
{{{
#!CommitTicketReference repository="" revision="35821"
Media: Don't generate responsive image attributes if `src` does not match
ID in `wp-image-` class.
We rely on the `wp-image-` class to quickly find an attachment ID to add
responsive image attributes.
To avoid incorrect images being displayed, do not add these attributes if
the `src` does not match the
meta from the attachment ID in the class.
Merge of [35820] to the 4.4 branch.
Props azaozz, kovshenin, joemcgill, mikeschroder.
See #34898.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34898#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list