[wp-trac] [WordPress Trac] #6081: Importers: use foreign post IDs when possible

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 3 20:51:07 GMT 2008


#6081: Importers: use foreign post IDs when possible
-------------------------+--------------------------------------------------
 Reporter:  tellyworth   |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.6      
Component:  General      |     Version:           
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 When possible, the importers should attempt to insert posts using the
 foreign post ID.  Not all import formats include that info, but some do,
 including WXR.  There's an example for MT here:

 http://www.muditajournal.com/archives/000280.php

 I wouldn't suggest using that patch verbatim but wp_insert_post() could be
 enhanced to allow the post ID to be set when inserting, not just when
 updating.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6081>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list