[wp-trac] [WordPress Trac] #40768: site.com/login should not redirect to login page when user is already logged in
WordPress Trac
noreply at wordpress.org
Fri Aug 18 11:01:30 UTC 2023
#40768: site.com/login should not redirect to login page when user is already
logged in
--------------------------------------+------------------------------
Reporter: subrataemfluence | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-dev-note | Focuses:
--------------------------------------+------------------------------
Comment (by rajinsharwar):
Replying to [comment:7 JeffPaul]:
> @rajinsharwar I think there are still non-admin's that should/could be
directed to the WP Admin (author, editor, perhaps frankly all default core
roles have some actions feasible in the admin).
Agree. But, the reason I wanted to redirect to the homepage for any non-
admin users is, sometimes Administrators don't want their end users to
access their admin dashboards. They might just want to keep them on their
very front-end profile page. So, I suggested for the non-admins to be
redirected to the homepage, and the admins to be redirected to the admin
dashboard. What do you think?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40768#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list