[wp-trac] [WordPress Trac] #36339: Possible issue with export_wp() and undefined custom post types
WordPress Trac
noreply at wordpress.org
Mon Jul 6 14:20:09 UTC 2020
#36339: Possible issue with export_wp() and undefined custom post types
------------------------------------------+-----------------------------
Reporter: theMikeD | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Export | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+-----------------------------
Changes (by earnjam):
* keywords: dev-feedback needs-screenshots => needs-patch needs-unit-tests
* milestone: => Future Release
Comment:
I agree. We should be throwing errors from `export_wp()` instead of
exporting unexpected data, even if that odd behavior is properly
documented now.
The current export UI in the admin doesn't show any post types which don't
have `can_export` set to `true`. This would only be a possible issue for
other external direct calls to `export_wp()`, so there wouldn't be any
design work involved here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36339#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list