[wp-trac] [WordPress Trac] #17379: Filtered exports drop attachments and featured images
WordPress Trac
noreply at wordpress.org
Wed Mar 22 20:59:30 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 |
-------------------------------------------------+-------------------------
Comment (by fischfood):
Test Report
This report validates that the indicated patch addresses the issue.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/4245/
Environment
OS: macOS 12.4
PHP: 8.0.16
WordPress: 6.1.1
Browser: Brave 1.48.164, Chrome 111.0.5563.64
Theme: Twenty Twenty-Two
----
Steps
- Updated wp-admin/includes/export.php on a live website for public image
access
- Added a post to the live site with a featured image, and an image within
the content
- On that site, I ran two exports, one for all posts with "Posts", and one
for all posts by a specific author
- On a clean local site, I ran an import for each xml file, checking off
the "Download and import file attachments" option, sacking the post and
images in between the tests
----
Results
- On both imports, a post was created with the featured image as well as
the image within the content. Both images were uploaded into the Media
Gallery.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17379#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list