[wp-trac] [WordPress Trac] #17379: Filtered exports drop attachments and featured images

WordPress Trac noreply at wordpress.org
Fri Mar 17 15:47:15 UTC 2023


#17379: Filtered exports drop attachments and featured images
-------------------------------------------------+-------------------------
 Reporter:  billseymour                          |       Owner:  chriscct7
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:
Component:  Export                               |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests has-        |     Focuses:
  testing-info                                   |
-------------------------------------------------+-------------------------
Changes (by nateallen):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests has-
     testing-info


Comment:

 I cleaned up the code a bit and adding a new unit test. I'm hopeful we can
 finally merge this fix into WordPress core. Given that the bug has caused
 frustration for WordPress users for more than a decade, I'm eager to see
 it resolved at last!

 To test this patch:

 1. Create a post and add a featured image
 2. Go to Tools > Export
 3. Select the Posts option
 4. Choose an author
 5. Click "Download Export File"

 The export file should contain your post and the attachment. Without the
 patch, you should only see the post.

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


More information about the wp-trac mailing list