Opened 9 years ago
Closed 9 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_title
andpost_name
from each importer.By not supplying
wp_insert_post
apost_title
orpost_name
field for each imported reply the end result is eachreply
has nopost_title
and thepost_name
will be the same as thewp_posts.id
mimicking the same defaultwp_posts
behaviour 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.