Opened 11 years ago
Closed 11 years ago
#2652 closed enhancement (invalid)
Post meta key _bbp_reply_id is not created when creating new replies
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Component - Replies | Keywords: | |
Cc: |
Description (last modified by )
Currently replies do not have a post meta _bbp_reply_id
key
Forums have _bbp_forum_id
, topics have _bbp_topic_id
, and reply to's have _bbp_reply_to
meta keys.
The meta key _bbp_reply_id
is implemented within bbp_update_reply_id()
though this function is never called.
I think it makes sense based on the methodology used for our other post types and bbPress meta to include _bbp_reply_id
for all new replies and updated/edited replies.
Related: #2647 Post meta key _bbp_forum_id is not created when creating new forums
In 2652.diff:
bbp_update_reply_reply_id()
updater reply helper functionbbp_update_reply()
callsbbp_update_reply_reply_id()
to add_bbp_reply _id
post meta key when a reply is created or edited usingbbp_new_reply_handler()
andbbp_edit_reply_handler()
respectivelyWe should also updating existing reply meta as part of the bbPress 2.6 update.
We should also add a repair tool
bbp_admin_repair_reply_meta()
for repairing reply meta data alongside fellowbbp_admin_repair_forum_meta()
andbbp_admin_repair_topic_meta()
repair tools.