[wp-trac] [WordPress Trac] #34062: The WXR export tool should export terms metadata
WordPress Trac
noreply at wordpress.org
Mon Apr 18 03:29:20 UTC 2016
#34062: The WXR export tool should export terms metadata
-------------------------+---------------------------
Reporter: Chouby | Owner: boonebgorges
Type: enhancement | Status: accepted
Priority: normal | Milestone: 4.6
Component: Export | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => accepted
* milestone: Awaiting Review => 4.6
Comment:
Thanks for the patch, @Chouby.
> I wonder if we should have separate tags for categories and tags as it
is for all other term tags except <wp:term_id>
I'd say no. My understanding is that Category and Tag are only separated
out in the WXR because of some historical accidents (tags didn't always
exist; custom taxonomies didn't always exist; WXR is based on RSS, where
Category and Tag are semantically distinct). I don't think there's a
technical reason to make them distinct for the purposes of termmeta.
==
Including termmeta in the WXR export doesn't do much good if the importer
doesn't handle termmeta as well. @rmccue is in the process of introducing
some Modern Software Development Practices to the importer
https://make.wordpress.org/core/2015/11/18/wordpress-importer-redux/, and
there is a PR for termmeta support that is waiting for the current ticket
to be resolved: https://github.com/humanmade/WordPress-Importer/pull/18.
If the new importer is ready by the time 4.6 is released, that PR should
be sufficient. If not, we should be sure that a new version of the old
wordpress-importer is released with termmeta support. See
[attachment:34062-wordpress-importer.diff].
I am going to commit the export functionality but leave the ticket open as
a reminder that we shouldn't ship it without doing something about import.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34062#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list