Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#4031 closed enhancement (fixed)

Hook canonical redirects to template_redirect

Reported by: boonebgorges's profile boonebgorges Owned by: boonebgorges's profile 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.

Change History (1)

#1 @boonebgorges
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(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().

Note: See TracTickets for help on using tickets.