#52647 closed defect (bug) (fixed)
Install jQuery via NPM.
| Reported by: | peterwilsoncc | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.7 |
| Component: | External Libraries | Version: | 5.6 |
| Severity: | normal | Keywords: | commit dev-reviewed |
| Cc: | Focuses: | javascript |
Description
In [45342] WordPress reintroduced a forked version of jQuery 1.12.4 in to the WordPress source files to backport an upstream security issue. See #47020.
In [49101] the forked version was replaced with an unmodified version of jQuery 3.5.1. See #50564
Now that WordPress no longer needs to fork jQuery, it would be good to move it back to NPM and add it as part of the build.
Attachments (2)
Change History (9)
#3
follow-up:
↓ 4
@
6 years ago
@SergeyBiryukov Is this worth backporting?
Because 5.7 will become the maintained branch, it would make updating easier should there be a security update upstream.
I don't believe this changes the actual source, just how the files are included.
#4
in reply to: ↑ 3
@
6 years ago
- Keywords commit dev-feedback added
- Milestone 5.8 → 5.7
- Resolution fixed
- Status closed → reopened
Replying to desrosj:
I don't believe this changes the actual source, just how the files are included.
Right. Yes, I think this can be backported to both 5.6 and 5.7 branches.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 50445: