Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3811 closed defect (bug) (invalid)

wp-login.php does not allow redirecting 'read' capability (Subscriber) to Dashboard instead of Profile upon login

Reported by: cliffpaulick's profile cliffpaulick Owned by:
Milestone: Priority: normal
Component: Login & Authentication Keywords:


I understand checking if $redirect_to is empty, but why specifically intercept users without 'edit_posts' capability?

Here's some code that I am using to override this:

I'm hoping this snippet will not be needed in the future.

Thank you.

Change History (2)

#1 @Otto42
6 years ago

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

Thank you for your ticket, however this is the Meta Trac. Here, we talk about problems and fixes for the website itself, and the various properties surrounding it.

Tickets relating to the WordPress core code itself should be made on As always, search first, as there may be a ticket there relating to your issue already.

#2 @cliffpaulick
6 years ago

Eek! Sorry. (Darn Google.) Created instead

Note: See TracTickets for help on using tickets.