[wp-trac] [WordPress Trac] #13364: Bug with tags and categories when importing from WP 2.9.2-exporting XML files
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 3 04:30:03 UTC 2010
#13364: Bug with tags and categories when importing from WP 2.9.2-exporting XML
files
--------------------------+-------------------------------------------------
Reporter: gaobo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Import | Version: 3.0
Severity: major | Keywords: import duplicated entries
--------------------------+-------------------------------------------------
Changes (by gaobo):
* milestone: WordPress.org site => 3.0
Comment:
The situation is more serious than it looks like. Importer seems to have
been moved into WordPress.org site as a plug-in, but it turns out to be an
essential part of WordPress 3.0 (or any future release). For WordPress
3.0, many people will perform the import action and it affects there user
experience badly.
So, ryan or any buddies there, you have already found the root cause of
the problem. So please take a few steps to have it resolved. I conducted a
survey among my Chinese and Japanese friends, and 17 out of 20 of them
complained about this issue. It shows a clear fact: THIS PROBLEM HURTS.
Let's work together to remove this tiny but important road blocker before
shipping WordPress 3.0, thanks for all your time and efforts.
Replying to [comment:13 gaobo]:
> I suppose this to be a relatively important bug, since the first thing
people usually do after deployment of 3.0 is to import their content from
previous blogs as I did, and that's why I recognized the existence of the
bug. However I agree that since the importer part has been moved into
WORDPRESS.ORG we can move on and change its milestone, but having it fixed
can provide many users of 3.0 with a better experience.
>
> Replying to [comment:11 ryan]:
> > I can reproduce this in 2.9.2 as well. When importing posts, the
category slug is not being referenced when checking to see if the category
exists. This ends up in the category being recreated with a new slug.
Instead of using this field:
> >
> > {{{
> > <category><![CDATA[远征手记]]></category>
> > }}}
> >
> > This field should be used:
> >
> > {{{
> > <category domain="category"
nicename="eternity"><![CDATA[远征手记]]></category>
> > }}}
> >
> > And we should use the nicename as the slug when calling get_term_by()
in the categories loop of process_post().
> >
> > Since the importer is now in the plugins repo, this is not a blocker
for 3.0 release. Fixing it would be very nice however. Anyone want to
have a try?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13364#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list