Opened 11 years ago
Last modified 8 years ago
#6895 new defect (bug)
bp_core_validate_email_address doesn’t check signups table
| Reported by: | baldgoat | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Contributions |
| Component: | Registration | Version: | 2.0 |
| Severity: | normal | Keywords: | needs-patch needs-unit-tests |
| Cc: |
Description
Not sure if this falls under WP Core or it's a BuddyPress issue.
It's more accurate to say that email_exists doesn't check the signups table to see if an signup with a duplicate email already exists. But, it may be a BuddyPress issue because it only becomes an issue if BP_SIGNUPS_SKIP_USER_CREATION is set to true in the wp-config.
Oddly enough, username_exists appears to check the signups table for a duplicate user_login. I, honestly, did not dig enough to confirm that for certain or if another filter/action is doing the check.
Change History (7)
#2
@
11 years ago
- Component API → API - Sign ups & Activation
- Keywords needs-patch needs-unit-tests added
- Milestone Awaiting Review → Under Consideration
- Version → 2.0
@baldgoat - Your problem sounds about right to me, but we'll need to verify to be sure.
Moving to "Under Consideration" for now. Once we have a patch, it'll move to an appropriate milestone (most likely 2.6.0).
#4
@
10 years ago
- Milestone Awaiting Review → Future Release
We need to look at bp-signup->resend and bp_core_validate_email_address and maybe bp_core_validate_user_signup. We should duplicate almost all the logic from wpmu_validate_user_signup, which includes checking the signups table.
#5
@
8 years ago
- Milestone Awaiting Contributions → Up Next
Just marked #7498 as a duplicate.
This will be important to fix if we decide to ditch the user entry created during signup, which was added for backward compatibility reasons. See:
https://buddypress.trac.wordpress.org/browser/tags/3.1.0/src/bp-members/bp-members-functions.php?marks=1699-1720#L1669
Moving to Up Next.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
At the request of shanebp on the BuddyPress.org forums, here is a link to our discussion...
https://buddypress.org/support/topic/bp_core_validate_email_address-doesnt-check-signups-table/
And the filter I wrote to resolve the issue...