Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#3786 closed defect (bug) (fixed)

Canonical redirect clears bp_core_add_message() cookie

Reported by: boonebgorges Owned by: boonebgorges
Milestone: 1.6 Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc:

Description

If you bp_core_add_message() and then get redirected to a canonical URL via bp_canonical_redirect(), the message is lost, because by that point in the loading process, the cookie has been deleted. Before the redirect, the cookie should be reset if necessary.

Change History (1)

#1 @boonebgorges
10 years ago

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

(In [5425]) Moves bp_redirect_canonical to bp-core-catchuri.php with other URI-related functions. Readds error/success messages before redirect so that they're not lost in a cookie black hole. Fixes #3786

Note: See TracTickets for help on using tickets.