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

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


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

Comment (by imath):

 In [changeset:"12729" 12729]:
 {{{
 #!CommitTicketReference repository="" revision="12729"
 BP Types: merge BP Types saved in DB with the ones registered by code

 - Introduces the `bp_get_taxonomy_types()` to merge types saved into the
 database with the types registered by code. It's now possible to edit all
 properties of the registered by code types except for the type's slug
 which needs to be unique.
 - Caches these merged types.
 - Introduces the `bp_get_member_types_registered_by_code()` to only get
 member types registered by code.
 - Updates the
 `test_bp_get_member_type_should_not_return_unregistered_types()` unit test
 to
 `test_bp_get_registered_by_code_member_type_should_not_return_unregistered_types()`
 to check the previous point new function.
 - Introduces the `bp_update_type_metadata()` function to update a type's
 metadata.

 Props mercime, DJPaul, dcavins, boonebgorges, tw2113, sbrajesh

 See #7179
 See #7181
 }}}

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


More information about the buddypress-trac mailing list