[buddypress-trac] [BuddyPress Trac] #8401: Group Types: the bp_group_type_list() template tag can output empty links

buddypress-trac noreply at wordpress.org
Thu Nov 19 21:42:01 UTC 2020


#8401: Group Types: the bp_group_type_list() template tag can output empty links
--------------------------+-------------------------
 Reporter:  imath         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  high          |  Milestone:  7.0.0
Component:  Groups        |    Version:
 Severity:  major         |   Keywords:  needs-patch
--------------------------+-------------------------
 If the Group Type's `has_directory` property is set to `false` and its
 `show_in_list` property is `true`, the Group type's directory url is empty
 and the template tag is using it into the `href` attribute of the link of
 the listed Group Type. Clicking on it, we are refreshing the current
 group's page.

 Moreover, using the Group Type's name property into the text of the link
 is wrong as it's not the singular name, it's the plural one.

 Moreover II, The label used before the group types list should only be
 plural if there are more than one Group Type listed

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8401>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list