sensei
sensei copied to clipboard
Unable to download .docx files from Grading
Steps to Reproduce
- Create a lesson with a quiz that contains a file upload question.
- Take the quiz and upload a .docx (or .doc) file
- Go to grading and try to download the file by clicking the link.
What I Expected
The file download dialog box should open.
What Happened Instead
Nothing happens. Console shows the following errors:
JQMIGRATE: Migrate is installed, version 3.4.1
about:srcdoc:1 Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.Understand this error
about:srcdoc:1 Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.Understand this error
about:srcdoc:1 Blocked opening 'https://example.com/wp-content/uploads/2025/09/ab5194b_lorem-Doc-drive-file.docx' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.Understand this error
about:srcdoc:1 Blocked opening 'https://example.com/wp-content/uploads/2025/09/ab5194b_lorem-Doc-drive-file.docx' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.Understand this error
PHP / WordPress / Sensei LMS version
Sensei Pro (WC Paid Courses): by Automattic – 4.25.1.1.24.4
Browser / OS version
Chrome MacOS
Context / Source
10304447-zd-a8c
Support References
This comment is automatically generated. Please do not edit it.
- [ ] 10304447-zen
Workaround: Right-click the link and select Save Link As.