[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
Wed May 26 21:15:46 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: WordPress.org site
Component: Import | Version: 3.0
Severity: major | Keywords: import duplicated entries
--------------------------+-------------------------------------------------
Comment(by 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:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list