#5589 closed defect (bug) (fixed)
Import GUID functionality no longer works
Reported by: | peterjanes | Owned by: | westi |
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | normal | Version: | 2.3.2 |
Component: | General | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
WordPress used to preserve GUIDs when importing from RSS feeds. (See Changeset 2193.) Now that the importer uses wp_insert_post that no longer works, since that method 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.
Attachments (1)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Thank you for your patch.
However it does not apply correctly to WordPress trunk.
Could you recreate your patch against a clean checkout of trunk and then I will ensure it gets committed.