[wp-trac] [WordPress Trac] #5589: Import GUID functionality no longer works

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 6 00:10:24 GMT 2008

#5589: Import GUID functionality no longer works
 Reporter:  peterjanes  |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  normal      |   Milestone:  2.5      
Component:  General     |     Version:  2.3.2    
 Severity:  normal      |    Keywords:           
 WordPress used to preserve GUIDs when importing from RSS feeds.  (See
 [http://trac.wordpress.org/changeset/2193 Changeset 2193].)  Now that the
 importer uses wp_insert_post that no longer works, since that method
 [http://trac.wordpress.org/browser/trunk/wp-includes/post.php#L1105 always
 overwrites the GUID with the permalink].

 I haven't seen anything that suggests this was a deliberate change, and
 the RSS and WordPress importers still appear to determine posts' GUIDs so
 they can be preserved, so I have attached a patch against WP 2.3.2 that
 changes wp_insert_post to accept and use a guid if provided.

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

More information about the wp-trac mailing list