Opened 15 years ago
Closed 14 years ago
#19218 closed defect (bug) (fixed)
Posts with same title cannot be imported into different post types
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | WordPress.org | Priority: | normal |
| Severity: | minor | Version: | 3.2.1 |
| Component: | Import | Keywords: | has-patch |
| Focuses: | Cc: |
Description
- Import a post using a standard WXR
- Edit the WXR and change the post type (to a registered post type) of a previously imported item
- Importer will say the post already exists
A post can exist with the same title in two different post types. The importer should reflect this as well.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Could do either of
post_exists()to accept a $post_type parameterpost_exists()in the importer and check the post typeThe second can be done quickest as the first isn't going to happen for 3.3.