[wp-trac] [WordPress Trac] #23465: WXR importer does not import posts if a post with the same title is in the trash

WordPress Trac noreply at wordpress.org
Sat Aug 24 05:19:20 UTC 2013


#23465: WXR importer does not import posts if a post with the same title is in the
trash
--------------------------+------------------------------
 Reporter:  mark-k        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Import        |     Version:  2.0
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |
--------------------------+------------------------------

Comment (by mark-k):

 Replying to [comment:3 c3mdigital]:
 > ....  If you move a previously imported post into the trash it is
 assumed that you do not want that post .....

 Exactly, if a post is in the trash it means that I don't want it and it
 should be ignored as if it is not in the DB any longer. In any case you
 the reproduction process described is not the only way to get into this
 situation, just the easiest one to describe. The importer doesn't know if
 a post in the trash was imported before and there were no changes done to
 it.

 At the minimum the importer should give a message specifying that the post
 is in the trash otherwise the user will not have any way to find the
 offending post and permanently delete it if he wants to import it.

 The reason titles are compared at all is to let you reimport if the
 importing had failed in some way without generating duplicate posts, but
 in that case the posts will not be in the trash.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23465#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list