Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#47324 closed defect (bug) (fixed)

Remove 'jquery' as a script dependency for wp-sanitize.js

Reported by: sstoqnov's profile sstoqnov Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version:
Component: Script Loader Keywords: has-patch commit
Focuses: Cc:


Currently wp-sanitize.js uses jquery as dependency, which is not needed, since the content of the wp-sanitize is plain javascript.

Attachments (1)

47324.diff (570 bytes) - added by sstoqnov 5 years ago.

Download all attachments as: .zip

Change History (6)

5 years ago

#1 @sstoqnov
5 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to 5.3
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#3 @adamsilverstein
5 years ago

  • Keywords commit added

Looks good!

#4 @SergeyBiryukov
5 years ago

Introduced in [41061].

#5 @SergeyBiryukov
5 years ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 45593:

Script Loader: Remove unnecessary jquery dependency for wp-sanitize.js.

The file is written in plain JavaScript.

Props sstoqnov.
Fixes #47324.

Note: See TracTickets for help on using tickets.