Describe the bug
You are taken to admin interface after sign-in instead of being taken back to the page or post where you started from with the intent to leave a comment.
To Reproduce
Steps to reproduce the behavior:
Open any post while in signed out state.
Scroll to bottom and click on "logged in" link below "leave a reply" heading.
Note that the redirect_to in the query params is the link of the post you were on. Upon clicking "Continue with Hellō", the link being forwarded to is:
/?hello-login=start&redirect_to_path=%2Fwp-admin%2F&_cc=1675792290.3
Notice the redirect_to_path is /wp-admin when it should be the post of the link.
Screenshots
In order to require login for comments make sure that "Users must be registered and logged in to comment" is selected under Settings / Discussion.
Expected behavior
After signing in you are returned to the blog post where you started so you can comment.
Describe the bug You are taken to admin interface after sign-in instead of being taken back to the page or post where you started from with the intent to leave a comment.
To Reproduce Steps to reproduce the behavior:
redirect_to
in the query params is the link of the post you were on. Upon clicking "Continue with Hellō", the link being forwarded to is:/?hello-login=start&redirect_to_path=%2Fwp-admin%2F&_cc=1675792290.3
redirect_to_path
is/wp-admin
when it should be the post of the link.Screenshots
In order to require login for comments make sure that "Users must be registered and logged in to comment" is selected under Settings / Discussion.
Expected behavior After signing in you are returned to the blog post where you started so you can comment.