Automattic / Automattic/WP-Job-Manager

Guest users can’t upload attachments

Open
#2,887 0 comments 0 reactions 0 assignees View on GitHub
Bug
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.