-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Registering from course page does not redirect back to the course #2768
Comments
We should redirect back to the course page after the user registers. I don't think a success message is necessary though, as the "Start Taking this Course" button will be visible to enable the user to enrol in the course. |
Hey Donna and Dan! In the PR description I explain what my findings were regarding this issue... Please let me know your thoughts on this approach, if you'd like me to try a different one (in case I was wrong or you'd prefer something else), or if there's anything else I can do to help! Oh, and btw Donna, when executing the code sniffer (with the standards that came with the plugin) I realized that there are some warnings and errors regarding comment styling, naming conventions, deprecated parameters, etc... I'm not sure if they're being ignored on purpose, or that you have a thousand more critical things on your table!... In case it's the latter, would you like me to spend some time fixing all of those; or adding the phpcs ignore comment in case the "error" should be ignored? Would that be helpful? (And I wasn't sure if this is the right place to ask this so I'm sorry if it isn't!) |
Steps to Reproduce
What I Expected
I would see some kind of registration success message and be redirected back to the course page.
What Happened Instead
I was redirected to the home page and saw no evidence that the registration was successful.
PHP / WordPress / Sensei version
7.3.7 / 5.2.2 / 2.1.2
Browser / OS version
Any browser
Context / Source
Reported in 2251592-zen
The text was updated successfully, but these errors were encountered: