Automattic / Automattic/WP-Job-Manager
Guest users can’t upload attachments
- Dominant language
- PHP
- Stars
- 899
- Forks
- 369
- Avg merge
- 11h 37m
- Merged PRs (30d)
- 12
Description
Hi there,
I’m using the WP Job Manager plugin and experiencing an issue where guest users (not logged in) cannot upload PDF attachments via the job application form.
When trying to upload a .pdf file in Safari (macOS), the following error appears:
“You are not allowed to upload this file type.”
This only happens for non-logged-in users. When logged in (e.g., as an admin), the upload works without any issues. The file type is PDF, it’s already whitelisted via the upload_mimes filter.
Contributor guide
Research direction
Reproduce the job application upload in Safari on macOS as a logged-out user, then compare it with the working logged-in flow. Start by tracing the guest upload path and the upload_mimes handling; done means whitelisted PDF attachments upload successfully for guests without breaking logged-in uploads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100