[buddypress-trac] [BuddyPress Trac] #7179: UI to Add New Group Type in wp-admin

buddypress-trac noreply at wordpress.org
Mon Sep 21 01:36:49 UTC 2020


#7179: UI to Add New Group Type in wp-admin
-------------------------+----------------------
 Reporter:  mercime      |       Owner:  imath
     Type:  enhancement  |      Status:  closed
 Priority:  strategic    |   Milestone:  7.0.0
Component:  Groups       |     Version:  2.6.1.1
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+----------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12731" 12731]:
 {{{
 #!CommitTicketReference repository="" revision="12731"
 BP Types: add functions to generate the Group types WP Admin screens

 - Adds labels and arguments to the Group Type taxonomy.
 - Adds the Group type's Administration screens.
 - Introduces the `bp_groups_register_group_type_taxonomy()` function to
 register the Group type's taxonomy and stop doing it from the
 BP_Groups_Component::register_taxonomies() method.
 - Introduces the `bp_get_group_type_metadata_schema()` to add custom
 metadata for the Group type's taxonomy.
 - Introduces the `bp_get_group_types_registered_by_code()` to only get
 Group types registered by code.
 - Stops using the hardcoded `bp_group_type` identifier in favor of the
 filterable `bp_get_group_type_tax_name()` function.
 - Updates the
 `test_groups_get_type_should_not_return_unregistered_types()` unit test to
 `test_groups_registered_by_code_group_type_should_not_return_unregistered_types()`
 to check the previous point new function.

 Props mercime, DJPaul, dcavins, boonebgorges

 Fixes #7179
 }}}

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


More information about the buddypress-trac mailing list