WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#25974 closed defect (bug) (fixed)

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

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

Description

Most of the issues were variables that were defined but not used. I need to test this more, and to verify the impact on the minified code.

Attachments (1)

25974.diff (4.8 KB) - added by kadamwhite 6 years ago.
Patch to fix jshint errors in media-views.js

Download all attachments as: .zip

Change History (3)

@kadamwhite
6 years ago

Patch to fix jshint errors in media-views.js

#1 @nacin
6 years ago

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

In 26161:

Fix JSHint errors in media-views.js.

props kadamwhite.
fixes #25974.

#2 @nacin
6 years ago

  • Milestone changed from Awaiting Review to 3.8
Note: See TracTickets for help on using tickets.