Make WordPress Core

Opened 6 years ago

Closed 6 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:

Description

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 6 years ago.

Download all attachments as: .zip

Change History (6)

@sstoqnov
6 years ago

#1 @sstoqnov
6 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
6 years ago

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

#3 @adamsilverstein
6 years ago

  • Keywords commit added

Looks good!

#4 @SergeyBiryukov
6 years ago

Introduced in [41061].

#5 @SergeyBiryukov
6 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.