[buddypress-trac] [BuddyPress Trac] #7181: UI to Add New Member Type in wp-admin
buddypress-trac
noreply at wordpress.org
Mon Sep 21 01:21:27 UTC 2020
#7181: UI to Add New Member Type in wp-admin
------------------------------------+-----------------------
Reporter: mercime | Owner: (none)
Type: enhancement | Status: reopened
Priority: strategic | Milestone: 7.0.0
Component: Members | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+-----------------------
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/7181#comment:20>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list