[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 00:57:23 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:                |
--------------------------+------------------------------
Changes (by c3mdigital):

 * status:  new => closed
 * version:   => 2.0
 * resolution:   => wontfix


Comment:

 This is intended behavior.  post_exists() is the function used by the
 importer to determine if the post exists before importing it.  The
 function compares post_title, post_content and post_date and does not
 distinguish between revisions or statuses to prevent importing the same
 post multiple times.  If you move a previously imported post into the
 trash it is assumed that you do not want that post so it is not imported
 again.

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


More information about the wp-trac mailing list