Opened 12 years ago
Closed 12 years ago
#2585 closed enhancement (fixed)
Importers should use reply id for post name (slug)
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | API - Importers | Keywords: | has-patch |
| Cc: |
Description
Until now, replies to topics have always shared the topic title (and incremental slugs) in common with each other. With this change, replies will now mostly be identified via their post ID. This helps with search results, and avoids some reply-slug confusion as to why they need to have titles or slugs at all.
Importers should also reflect that change implemented via #2291/r5117
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
In 2585.2.diff:
post_titleandpost_namefrom each importer.By not supplying
wp_insert_postapost_titleorpost_namefield for each imported reply the end result is eachreplyhas nopost_titleand thepost_namewill be the same as thewp_posts.idmimicking the same defaultwp_postsbehaviour for creating a reply manually in bbPress.Below table shows ID=42324 a 'standard reply' manually created in bbPress vs ID=42359 a phpBB imported reply.