[wp-trac] [WordPress Trac] #16581: Meta widget: properly redirect user after logging in / out

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 17 19:20:12 UTC 2011


#16581: Meta widget: properly redirect user after logging in / out
-------------------------+-----------------------------
 Reporter:  garyc40      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Widgets      |    Version:  3.1
 Severity:  normal       |   Keywords:  needs-patch
-------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16581>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list