[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:55:11 UTC 2018


#7839: Alternative to 'bp_activity_entry_comments' action in bp nouveau
------------------------------+-----------------------
 Reporter:  sbrajesh          |       Owner:  imath
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  3.1.0
Component:  Templates         |     Version:  3.0.0
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by imath):

 In [changeset:"12148" 12148]:
 {{{
 #!CommitTicketReference repository="" revision="12148"
 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

 See #7839 (Trunk)
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7839#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list