[buddypress-trac] [BuddyPress] #5153: Add hooks to modify display of entire comment
buddypress-trac
noreply at wordpress.org
Tue Aug 27 18:22:10 UTC 2013
#5153: Add hooks to modify display of entire comment
-------------------------+-----------------------------
Reporter: lchski | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
Currently the way comments are laid out, if someone were to want to modify
the display of an entire comment (say, wrap it in a div), they'd have to
hook into bp_before_activity_comment and bp_after_activity_comment.
The unfortunate side effect of this is that the entire comment would be
wrapped in the div -- including all children (replies) of that comment.
This is not desirable behaviour, and it'd be great to have a hook that
could be used to modify the content of just one comment, ignoring its
children.
This would mean putting the first hook before .acomment-avatar, and the
second hook after .accomment-options.
Thoughts? Could this be a suitable improvement. I'll work on the change if
people are willing and believe it to be worthwhile.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5153>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list