You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a file with an invalid type is selected in a file input while ajax upload is enabled the file is ignored but no feedback is shown to the user.
To Reproduce
Steps to reproduce the behavior:
Go to submit a job.
Select an incorrect file (anything which is not an image) when uploading the company logo.
Screenshots
Expected behavior
Some feedback should be shown to the user. Other similar errors like when a file is too big are displayed with a simple window.alert.
Isolating the problem (mark completed items with an [x]):
I have deactivated other plugins and confirmed this bug occurs when only WP Job Manager plugin is active.
This bug happens with a default WordPress theme active.
I can reproduce this bug consistently using the steps above.
Thanks for creating this bug report, @aaronfc -- we've noticed this, too, and have had users confused by it, so having an error thrown for the user when they attempt to add an invalid file type as the logo would be helpful.
Describe the bug
When a file with an invalid type is selected in a file input while ajax upload is enabled the file is ignored but no feedback is shown to the user.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Expected behavior
Some feedback should be shown to the user. Other similar errors like when a file is too big are displayed with a simple
window.alert
.Isolating the problem (mark completed items with an [x]):
WordPress Environment
The text was updated successfully, but these errors were encountered: