[buddypress-trac] [BuddyPress Trac] #8391: BP Nouveau: improve Groups Loop and single Groups Headers (with & without cover) templates

buddypress-trac noreply at wordpress.org
Tue Nov 17 19:31:50 UTC 2020


#8391: BP Nouveau: improve Groups Loop and single Groups Headers (with & without
cover) templates
--------------------------+---------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  7.0.0
Component:  Templates     |     Version:  3.0.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12789" 12789]:
 {{{
 #!CommitTicketReference repository="" revision="12789"
 BP Nouveau: improve the way Groups template meta data are managed

 Deprecate `bp_nouveau_group_meta()` and introduce
 `bp_nouveau_the_group_meta()` as a replacement. This function is used into
 BP Nouveau template parts to output specific Groups data mainly inside the
 `.item-meta` container of the Groups templates.

 Stop using `bp_nouveau_group_meta()` to display Group Types inside the
 Group's header (and actually make sure the regular and cover image headers
 are outputting the Group Types if necessary). BP Nouveau is now directly
 using the BP Groups template tag `bp_group_type_list()`.

 Finally, make sure the Group's last activity `.item-meta` container always
 shows the `"Active"` word before the human time diff we're live updating
 using JavaScript.

 Fixes #8391
 }}}

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


More information about the buddypress-trac mailing list