Skip to:
Content

BuddyPress.org

Changeset 10917


Ignore:
Timestamp:
06/29/2016 08:18:01 PM (8 years ago)
Author:
r-a-y
Message:

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)

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.