Install or make sure you are on a non-block/FSE theme like twenty twenty one or Astra
Go to a lesson
From the settings panel on right, create a new template
click on Update
What I Expected
To save without issue
What Happened Instead
You see an error message saying The update failed. Invalid parameter(s): "template"
I've already done some investigation. Looks like it happens only on non-block and non-fse themes. If you use block themes, like twenty twenty three or Course, this issue doesn't happen
Steps to Reproduce
What I Expected
To save without issue
What Happened Instead
You see an error message saying
The update failed. Invalid parameter(s): "template"
I've already done some investigation. Looks like it happens only on non-block and non-fse themes. If you use block themes, like twenty twenty three or Course, this issue doesn't happen
PHP / WordPress / Sensei LMS version
8.1, 6.3, 4.17.1
Browser / OS version
Chrome, opera
Screenshot / Video
https://github.com/Automattic/sensei/assets/6820724/6b85d060-28aa-4d5a-95ef-60726e6eb8ef
Context / Source