Opened 10 years ago
Closed 8 years ago
#2617 closed enhancement (fixed)
Allow moderators to adjust reply hierarchy
Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 2.6 | Priority: | high |
Severity: | normal | Version: | 2.4 |
Component: | Component - Replies | Keywords: | has-patch commit |
Cc: | nashwan.doaqan@… |
Description
With recent improvements to reply hierarchy & position, a few helper functions and fields will really tie the room together.
bbp_get_reply_ancestors()
- necessary because we do not usepost_parent
(it's used to identify the topic ID)bbp_reply_to
form field dropdown, for reassigning reply parentage on a case by case basis.- Associated walker class to handle the above dropdown.
- Edits to metabox and
form-reply.php
to use above dropdown. - Tweaks to
bbp_get_dropdown()
to allow custom posts array to be passed, withreply_to
data appended to each post.
Related: #2588.
Attachments (2)
Change History (19)
This ticket was mentioned in IRC in #bbpress-dev by jjj. View the logs.
10 years ago
#11
@
10 years ago
- Owner set to johnjamesjacoby
- Resolution set to fixed
- Status changed from new to closed
In 5398:
#14
@
9 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
When creating a reply in the backend reply admin results in:
e.g. http://src.wordpress-develop.dev/wp-admin/post-new.php?post_type=reply
This webpage is not available ERR_INCOMPLETE_CHUNKED_ENCODING The webpage at http://src.wordpress-develop.dev/wp-admin/post-new.php?post_type=reply might be temporarily down or it may have moved permanently to a new web address.
This is caused by is bbp_get_reply_to_dropdown()
where reply_id = 0
and then bbp_get_topic_title()
cannot handle this as part of the show_none
parameter of the bbp_get_dropdown()
array.
@tharsheblows added a patch in #2844 https://bbpress.trac.wordpress.org/attachment/ticket/2844/2844.1.diff
#16
@
8 years ago
- Keywords has-patch commit added
- Resolution fixed deleted
- Status changed from closed to reopened
[6316] is reversed, it displays 'None'
if a non-empty $reply_id
is provided (which is pretty much always the case), and an empty string otherwise.
The fatal error mentioned in comment:14 is already fixed in [6095],
In 5387: