[buddypress-trac] [BuddyPress Trac] #7138: bp_groups_register_group_types() should fire on `'bp_init'`
buddypress-trac
noreply at wordpress.org
Mon Jun 27 19:38:35 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 boonebgorges):
> 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. So i'd say i'm not sure it's a good idea to change
this.
I don't remember this, but @imath might be right.
> 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().
This seems safest.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7138#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list