[buddypress-trac] [BuddyPress Trac] #7349: When user is not logged , in he/she clicks email link to view new messages gets 404 page when should get login page

buddypress-trac noreply at wordpress.org
Fri Jun 23 17:10:49 UTC 2017


#7349: When user is not logged , in he/she clicks email link to view new messages
gets 404 page when should get login page
--------------------------+------------------
 Reporter:  dkelm         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.9
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by r-a-y):

 In [changeset:"11610"]:
 {{{
 #!CommitTicketReference repository="" revision="11610"
 Core: Redirect login links to their rightful spot if already
 authenticated.

 Previously, if a logged-in user clicked on a login link with the
 `'redirect_to'` parameter, the user would need to re-authenticate in order
 to get redirected to the given URL.

 This commit bypasses the re-authentication process for logged-in users,
 which improves the user experience for those clicking on login links via
 email.  `wp_safe_redirect()` is used to avoid redirecting to external
 links that are not whitelisted by WordPress.

 See #7349.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7349#comment:21>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list