Opened 15 years ago
Closed 15 years ago
#19218 closed defect (bug) (fixed)
Posts with same title cannot be imported into different post types
| Reported by: | misternifty | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | WordPress.org |
| Component: | Import | Version: | 3.2.1 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.