[wp-trac] [WordPress Trac] #17379: Filtered exports drop attachments and featured images
WordPress Trac
noreply at wordpress.org
Wed Feb 21 18:13:42 UTC 2024
#17379: Filtered exports drop attachments and featured images
-------------------------------------------------+-------------------------
Reporter: billseymour | Owner:
| hellofromTonya
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5
Component: Export | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests has- | Focuses:
testing-info commit |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"57681" 57681]:
{{{
#!CommitTicketReference repository="" revision="57681"
Export: Include featured image for posts or pages.
This bugfix resolves an issue in `export_wp()` with featured images.
When using Tools > Export and selecting either Posts or Pages (with or
without a specific author), the resulting XML file now includes a XML item
for each post|page's featured image attachment and its metadata.
Uses same chunking (for performance) and code patterns from existing code
in the same file.
Adds a new test class for `export_wp()` with code coverage specific to
this bugfix.
Follow-up to [34326], [14444], [6375], [6335].
Props billseymour, nateallen, petitphp, hellofromTonya, duck_, jane,
rcain, jghazally, jghazally, smub, batmoo, axwax, creativeslice, dlocc,
nacin, wonderboymusic, ganon, SergeyBiryukov, hlashbrooke, chriscct7,
fischfood, hifidesign, ankit-k-gupta, 5um17, shailu25, huzaifaalmesbah,
mukesh27.
Fixes #17379.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17379#comment:58>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list