[buddypress-trac] [BuddyPress Trac] #7656: Update `bp_new_group_invite_friend_list` for new $args to support full list markup
buddypress-trac
noreply at wordpress.org
Sat Jan 27 13:53:27 UTC 2018
#7656: Update `bp_new_group_invite_friend_list` for new $args to support full list
markup
------------------------------+---------------------
Reporter: hnla | Owner: hnla
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.0
Component: Groups | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by hnla):
* owner: => hnla
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"11828"]:
{{{
#!CommitTicketReference repository="" revision="11828"
Pass additional $args to 'bp_get_new_group_invite_friend_list()`
This function renders markup for the looped item defaulting to 'li' but
leaves it to the template to provide the parent element.
Commit provides two new args 'before' & 'after' to allow the function to
return the complete element markup if desired, simplifies templates having
to render markup and checks for empty function return.
Props DJPaul.
Fixes #7656
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7656#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list