#1393 closed defect (bug) (fixed)
extraneous check in wp_login()
| Reported by: | skippy | Owned by: | skippy |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Optimization | Version: | |
| Severity: | trivial | Keywords: | bg|has-patch bg|commit |
| Cc: | Focuses: |
Description
| ($login->user_login == $username && $login->user_pass == md5($password)) ) |
$username will _always_ match $login->user_login, because $username was used to fetch the data from the database.
Attachments (2)
Change History (9)
#2
@
21 years ago
- Keywords bg|has-patch bg|2nd-opinion added
- Owner changed from to
- Priority normal → low
- Status new → assigned
#3
@
21 years ago
- Keywords bg|commit added; bg|2nd-opinion removed
Yep, you're right. Your patch wasn't working for me though... some line at the end:
< ?> \ No newline at end of file --- > ?>
::shrugs:: I uploaded one I made.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
patch for 1.6 SVN