[wp-trac] [WordPress Trac] #48706: Post export does not include srcset attributes
WordPress Trac
noreply at wordpress.org
Mon Nov 18 20:38:57 UTC 2019
#48706: Post export does not include srcset attributes
----------------------------+------------------------------
Reporter: rogeriomoreira | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Export | Version: 5.3
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Comment (by SergeyBiryukov):
Hi there, welcome to WordPress Trac! Thanks for the report.
This is probably intentional, as `srcset` and `sizes` attributes are added
by
[https://developer.wordpress.org/reference/functions/wp_make_content_images_responsive/
wp_make_content_images_responsive()] at runtime via `the_content` filter,
and are not saved to the database. This makes it easier to update image
sizes for uploaded files in the future and regenerate thumbnails as
needed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48706#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list