You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I set custom page then redirect not occur when I try back. Propose to set redirection to dashboard on login form as user is logged (cookies set manually don't fire that action)
if (is_user_logged_in()) {
wp_redirect( get_site_url().'/wp-admin/' );
return;
}
The text was updated successfully, but these errors were encountered:
I have made lots of changes by running some GitHub actions to check code against WordPress Coding Standards so the code has moved around a fair bit, so I wonder if you can lodge a PR for this change please?
Now that the code is on GitHub this should be easier.
When I set custom page then redirect not occur when I try back. Propose to set redirection to dashboard on login form as user is logged (cookies set manually don't fire that action)
The text was updated successfully, but these errors were encountered: