Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#7282 closed defect (bug) (fixed)

Javascript error in wp-login.php

Reported by: janrenner's profile JanRenner Owned by:
Milestone: 2.6 Priority: low
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

During resetting password process, on page /wp-login.php?checkemail=confirm Javascript error "document.getElementById("user_login") has no properties" goes from wp-login.php line 22. There is not check if ID "user_login" exists.

Attachments (1)

7282.patch (1.6 KB) - added by azaozz 18 years ago.

Download all attachments as: .zip

Change History (3)

@azaozz
18 years ago

#1 @azaozz
18 years ago

  • Keywords has-patch added; javascript login password reset removed

It also loads with window.onload that's not compatible with other scripts. Changed to inline script.

#2 @ryan
18 years ago

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

(In [8314]) Inline user_login focus JS and avoid JS error. Props azaozz. fixes #7282

Note: See TracTickets for help on using tickets.