[buddypress-trac] [BuddyPress Trac] #7138: bp_groups_register_group_types() should fire on `'bp_init'`
buddypress-trac
noreply at wordpress.org
Thu Jun 23 19:47:09 UTC 2016
#7138: bp_groups_register_group_types() should fire on `'bp_init'`
--------------------------+--------------------
Reporter: r-a-y | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.6.1
Component: Groups | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+--------------------
Comment (by r-a-y):
> I think there's a good reason why Boone chose bp_loaded. I remember he
had to do this for the member types to be sure to be able to use it in
bp_core_catch_uri.
If that's the case, we should be able to run it at `'bp_init'` at priority
1, so it runs just before `bp_core_set_uri_globals()`.
Taxonomies are recommended to be registered on `'init'` and not
`'plugins_loaded'`.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7138#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list