Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#3212 closed defect (bug) (fixed)

Persistent login error on wp-login.php

Reported by: r-a-y's profile r-a-y Owned by:
Milestone: 1.5 Priority: normal
Severity: Version: 1.5
Component: Core Keywords:
Cc:

Description

A persistent login error message appears on wp-login.php even when you haven't submitted the form.

Steps to reproduce:

1) Using WP 3.1.2, activate BP 1.3-bleeding.

2) Make sure you're not logged in. Navigate to /wp-login.php. You'll see the following error message:

ERROR: Invalid username or incorrect password.

3) Deactivate BP 1.3-bleeding. Log out. Navigate to /wp-login.php. Error message disappears.

Example:
http://testbp.org/wp-login.php (make sure you're not logged in)

---

I've traced this error message to the pluggable WP function wp_authenticate() but I'm not sure whereabouts in BP is causing this problem.

Change History (3)

#1 @DJPaul
13 years ago

  • Milestone changed from Awaiting Review to 1.3

I'm not sure how BuddyPress is affecting this, but it's just the normal flow of execution in wp-login.php (line 572). Confirmed on trunk.

#2 @boonebgorges
13 years ago

The problem appears to be in bp_core_boot_spammer(), and in particular in how it bails when there is no current login attempt. About to commit a fix.

#3 @boonebgorges
13 years ago

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

(In [4371]) Return the correct value when no login is in process in bp_core_boot_spammer, so as to avoid errors on wp-login.php. Fixes #3212

Note: See TracTickets for help on using tickets.