sensei
sensei copied to clipboard
Published Question reverts back to being draft
I encountered issue first time on live site then I reproduced the error in a new localwp instance. On local instance I wasnt getting any missing js error in console, But I did get them in my production site. Below is console screenshot of edit question page.
Steps to reproduce
- Go to Sensei LMS -> Questions.
- Create a question and publish it. Skip this step if you already have a question published.
- Open the question in the editor.
- Modify question content and click "Update"
- Notification "Post is reverted to draft" appeared.
What I Expected
Question to be updated without change of its status.
What Happened Instead
Question reverted to draft.
PHP / WordPress / Sensei LMS version
PHP 8.1, WordPress 6.5.2
Browser / OS version
Safari
Screenshot / Video
Attached
https://github.com/Automattic/sensei/assets/32351343/d71f9ee7-7c12-4c42-8988-4856265b197f