WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#26011 closed defect (bug) (fixed)

jshint shouldn't throw errors: wp-includes/js/wp-auth-check.js

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

Description

Cleanup of wp-includes/js/wp-auth-check

W002 : Value of 'e' may be overwritten in IE8 or earlier
W099 : Mixed spaces and tabs
W014 : Bad line breaking before '&&'
W117 : 'adminpage' is not defined
W098 : 'check' is defined but never used
W098 : 'e' is defined but never used

Attachments (1)

26011.diff (1.7 KB) - added by mdbitz 8 months ago.
JSHint Cleanup of wp-auth-check.js

Download all attachments as: .zip

Change History (4)

mdbitz8 months ago

JSHint Cleanup of wp-auth-check.js

comment:1 mdbitz8 months ago

  • Cc matt@… added
  • Keywords has-patch added

comment:2 nacin8 months ago

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

In 26195:

Fix JSHint errors in six files.

props mdbitz.
fixes ##26011, #26012, #26013, #26014, #26038, #26039.

comment:3 nacin8 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.