WordPress.org

Make WordPress Core

Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#26020 closed defect (bug) (fixed)

jshint shouldn't throw errors:wp-admin/js/media.js

Reported by: seanchayes Owned by: nacin
Milestone: 3.8 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:

Description

Resolving JSHint reported errors:

W041 Use '===' to compare with '0'.
W041 Use '===' to compare with .
W117 'ajaxurl' is not defined.
W117 'wpAjax' is not defined.
W117 'wpAjax' is not defined.

Attachments (1)

26020.patch (884 bytes) - added by seanchayes 5 months ago.

Download all attachments as: .zip

Change History (4)

seanchayes5 months ago

comment:1 seanchayes5 months ago

  • Keywords has-patch added

comment:2 nacin5 months ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 26200:

Fix JSHint errors in 5 files.

props seanchayes.
fixes #26015, #26020, #26019, #26034, #26022.

comment:3 nacin5 months ago

  • Milestone changed from Awaiting Review to 3.8

Moving fixed JSHint error tickets to 3.8.

Note: See TracTickets for help on using tickets.