[buddypress-trac] [BuddyPress Trac] #7839: Alternative to 'bp_activity_entry_comments' action in bp nouveau
buddypress-trac
noreply at wordpress.org
Wed May 30 16:59:35 UTC 2018
#7839: Alternative to 'bp_activity_entry_comments' action in bp nouveau
------------------------------+---------------------
Reporter: sbrajesh | Owner: imath
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.1.0
Component: Templates | Version: 3.0.0
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by imath):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"12149" 12149]:
{{{
#!CommitTicketReference repository="" revision="12149"
BP Nouveau Activity comment form: allow inputs to be added to the form
In BP Legacy, the hook {{{bp_activity_entry_comments}}} is fired inside
the activity comment form, letting plugin developers inject custom inputs
into this form. The same hook is also available in BP Nouveau but was
misplaced out of the comment form.
To adapt to one of this Nouveau principle: try to avoid adding hooks
directly into templates using existing template tags or specific wrappers
and preserve the same level of customization plugin developers need, we
will use the {{{bp_nouveau_submit_button()}}} template tag to wrap and
fire this hook into its output.
Props sbrajesh
Fixes #7839 (Branch 3.0)
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7839#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list