[buddypress-trac] [BuddyPress Trac] #7138: bp_groups_register_group_types() should fire on `'bp_init'`
buddypress-trac
noreply at wordpress.org
Wed Jun 29 20:18:02 UTC 2016
#7138: bp_groups_register_group_types() should fire on `'bp_init'`
------------------------------+---------------------
Reporter: r-a-y | Owner: r-a-y
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.6.1
Component: Groups | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Comment (by r-a-y):
In [changeset:"10917"]:
{{{
#!CommitTicketReference repository="" revision="10917"
Groups: Register group types on `'init'`.
Previously, it was not possible to register group types in the current
theme's functions.php file.
This is due to our `'bp_groups_register_group_types'` hook running on
`'plugins_loaded'`.
Commit moves the register group types hook to `'bp_init'` at priority 1
so it runs just before `bp_core_set_uri_globals()`, which runs at priority
2.
Fixes #7138 (trunk)
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7138#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list