Automattic / Automattic/WP-Job-Manager

Investigate moving to WP core's AJAX uploader

Open
#1,635 1 comment 2 reactions 0 assignees View on GitHub
[Status] Accepted Enhancement
Dominant language
PHP
Stars
899
Forks
369
Avg merge
11h 37m
Merged PRs (30d)
12

Description

We're currently packaging and using `jquery.fileupload.js` and `jquery.iframe-transport.js`. Both packages are significantly out-of-date. It appears most of the exploits for the packages have been with the PHP side of things, but it might be worth investigating if we can use WP core's built-in packages to accomplish the same functionality.

If we can't easily do that, let's [update that library](https://github.com/blueimp/jQuery-File-Upload) and update our implementation as-needed.

Contributor guide

Open the contributing guide

Research direction

Start by locating how jquery.fileupload.js and jquery.iframe-transport.js are packaged and used, then compare that implementation with WordPress core's AJAX uploader. Check whether core can provide the same functionality; done means documenting that decision and either migrating the implementation or updating the linked blueimp/jQuery-File-Upload library as needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery, php, wordpress
Domain
backend, security
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.