[buddypress-trac] [BuddyPress Trac] #7151: Move `'bp_register_post_types'` and `'bp_register_taxonomies'` hooks before`'bp_core_set_uri_globals'`
buddypress-trac
noreply at wordpress.org
Tue Aug 2 05:32:39 UTC 2016
#7151: Move `'bp_register_post_types'` and `'bp_register_taxonomies'` hooks
before`'bp_core_set_uri_globals'`
------------------------------+---------------------
Reporter: r-a-y | Owner: r-a-y
Type: enhancement | Status: closed
Priority: normal | Milestone: 2.7
Component: Core | Version: 2.2
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by r-a-y):
* owner: => r-a-y
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"10981"]:
{{{
#!CommitTicketReference repository="" revision="10981"
Core: Move `'bp_register_post_types'` and `'bp_register_taxonomies'` hooks
before`'bp_core_set_uri_globals'`.
This commit does two things:
- Sets the priority of the `'bp_register_post_types'` and
`'bp_register_taxonomies'` to 2 and called just before the
`'bp_core_set_uri_globals'` hook.
- Registers our member and group types on the more, appropriate
`'bp_register_taxonomies'` hook.
Fixes #7151.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7151#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list