Opened 13 years ago
Closed 13 years ago
#4031 closed enhancement (fixed)
Hook canonical redirects to template_redirect
Reported by: | boonebgorges | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 1.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
See https://buddypress.trac.wordpress.org/ticket/1741#comment:12
Previously, it was not possible for us to hook our redirects to template_redirect, like WP does, because our peculiar load order made it so that template_redirect never fired on a BP page. That should no longer be the case, so the hook should be changed.
Note: See
TracTickets for help on using
tickets.
(In [5870]) Move bp_redirect_canonical to bp_template_redirect, for greater consistency with WP template loading and canonical redirects.
Fixes #4031.
Also changes the priority of some actions that are currently hooked to bp_template_redirect, to ensure that they are fired after bp_redirect_canonical().