WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 3 months 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:
Focuses: multisite Cc:

Description

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

Change History (4)

comment:1 kovshenin8 months ago

  • Cc kovshenin added

comment:2 jeremyfelt7 months 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.

comment:3 nacin7 months 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. :-)

comment:4 jeremyfelt3 months ago

  • Component changed from Multisite to Login and Registration
  • Focuses multisite added
Note: See TracTickets for help on using tickets.