Make WordPress Core

Opened 6 years ago

#44960 new defect (bug)

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: Awaiting Review Priority: normal
Severity: normal Version:
Component: Login and Registration Keywords:
Focuses: Cc:



I understand checking if $redirect_to is empty, but why specifically intercept users without 'edit_posts' capability that do have 'read' 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 (0)

Note: See TracTickets for help on using tickets.