WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 3 years ago

#25192 new enhancement

Leverage signup_id when working with $wpdb->signups

Reported by: nacin Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Login and Registration Keywords: needs-patch
Focuses: multisite Cc:

Description

Followup to #15004 — we should leverage the new primary key where possible, when working with $wpdb->signups.

Change History (5)

#1 @kovshenin
5 years ago

  • Cc kovshenin added

#2 @jeremyfelt
5 years ago

  • Milestone changed from 3.7 to Future Release

Punting to a future release. We should revisit soon after the new primary key hits in 3.7.

#3 @nacin
5 years ago

In IRC:

  • seems like rewriting wpmu_validate_user_signup() would be the big one
  • user-edit also treats user_login as the fake PK
  • we can go without that for now

Having the primary key is better than not having the primary key, even if we aren't yet using it in core. Maybe josephscott is interested in helping implement it. :-)

#4 @jeremyfelt
4 years ago

  • Component changed from Multisite to Login and Registration
  • Focuses multisite added

#5 @chriscct7
3 years ago

  • Keywords needs-patch added
Note: See TracTickets for help on using tickets.