Opened 13 years ago
Closed 13 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.
Note: See
TracTickets for help on using
tickets.
(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