sensei
sensei copied to clipboard
Lesson: Duplicating a lesson with a quiz ends up overriding the original lesson's quiz
This is currently happening on Learn.WordPress.org:
- https://github.com/WordPress/Learn/issues/2805
- https://github.com/WordPress/Learn/issues/2253
Steps to Reproduce
- Create a course with two or three lessons.
- Create a quiz in the last lesson.
- Publish the lessons and the course.
- Browse the list of Lessons in the WP admin dashboard.
- Select the lesson which contains the quiz, and click Duplicate
- Translate the lesson and quiz content
- Publish the new lesson
- Browse to the original course and view the lesson with the quiz
- The translated quiz content is displayed
What I Expected
I expect to see the original quiz, not the translated one
What Happened Instead
The translated quiz "overrides" the original quiz
PHP / WordPress / Sensei LMS version
- WordPress 6.7-alpha-58963
- Sensei LMS Version 4.24.3