[wp-trac] [WordPress Trac] #48706: Post export does not include srcset attributes

WordPress Trac noreply at wordpress.org
Mon Nov 18 17:16:42 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          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Hi.

 Since version 4.4, WordPress adds native responsive image support by
 including srcset and sizes attributes to the image markup it generates.
 However, when exporting the posts with the WordPress export built-in
 functionality these attributes are not included on the XML file.

 Steps to reproduce:

 1. Create a new post containing one image;
 2. Inspect the post on the front-end and make sure the srcset and size
 attributes are there;
 3. Export the posts with the WordPress built-in functionality;
 4. In the XML file, these attributes are not there.

 Happy to contribute with anything.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48706>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list