Making WordPress.org

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#3811 closed defect (invalid)

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

Reported by: 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: https://gist.github.com/cliffordp/35d74c3bceec9fbd10547b5d1ba988e5

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

Thank you.

Change History (2)

#1 @Otto42
3 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 WordPress.org website itself, and the various properties surrounding it.

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

#2 @cliffpaulick
3 years ago

Eek! Sorry. (Darn Google.) Created https://core.trac.wordpress.org/ticket/44960 instead

Note: See TracTickets for help on using tickets.