Make WordPress Core

Opened 10 years ago

Closed 7 years ago

Last modified 7 years ago

#16581 closed enhancement (invalid)

Meta widget: properly redirect user after logging in / out

Reported by: garyc40 Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: Widgets Keywords:
Focuses: Cc:


Inside Meta widget, there's a login link. However, the href attribute doesn't contain a redirection query argument.

So, there's a usability problem when someone is reading a post and want to comment, but can't because he's not logged in (and the blog requires logging in to comment). After logging in using the link inside Meta widget, the user is redirected to the admin area, instead of to the post he was reading. It would be a few clicks too many to go back to the post to comment.

The same thing can be applied to the Log out link (when the user's currently logged in). Instead of showing the blank wp-login.php form, he should be redirected back to the page where he clicked the link.

Change History (3)

#1 @nacin
10 years ago

-1. Many people use the meta widget cause they don't know how to get to their admin area otherwise. The logged out link should indeed redirect to wherever they came from. But not the logged in link.

#2 @c3mdigital
7 years ago

  • Keywords needs-patch removed
  • Resolution set to invalid
  • Status changed from new to closed
  • Version changed from 3.1 to 2.8

New users use the meta widget to get back to the admin. I know I did the first time I installed WordPress.

#3 @ocean90
7 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.