#52647 closed defect (bug) (fixed)
Install jQuery via NPM.
Reported by: | peterwilsoncc | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.7 | Priority: | normal |
Severity: | normal | Version: | 5.6 |
Component: | External Libraries | Keywords: | commit dev-reviewed |
Focuses: | javascript | Cc: |
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)
#2
@
4 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
#3
follow-up:
↓ 4
@
4 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
@
4 years ago
- Keywords commit dev-feedback added
- Milestone changed from 5.8 to 5.7
- Resolution fixed deleted
- Status changed from closed to 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.
In 50445: