[wp-trac] [WordPress Trac] #38750: Split wp_signups into wp_user_signups and wp_blog_signups

WordPress Trac noreply at wordpress.org
Thu Nov 10 19:07:01 UTC 2016


#38750: Split wp_signups into wp_user_signups and wp_blog_signups
------------------------------------+-----------------------------
 Reporter:  johnjamesjacoby         |      Owner:
     Type:  feature request         |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  Login and Registration  |    Version:  3.0
 Severity:  normal                  |   Keywords:
  Focuses:  multisite               |
------------------------------------+-----------------------------
 Right now, `wp_signups` (and the entire related API) does double-duty.
 It's 1 database table that's used for both users & blogs, but there are a
 few issues with this approach:

 * Open sign-ups may or may not include ability to create sites
 * There is no UI for managing sign-ups in WordPress core
 * Sign-ups are different between singlesite & multi-site
 * Plugins like BuddyPress do their best to include and/or work-around
 WordPress's core functionality, but end up writing a ton of additional
 code to manage this
 * Other membership plugins are forced to roll their own approach every
 single time
 * It's possible for multisite sign-up race conditions to exist, with users
 & sites created or activated from underneath each other (documented in
 `wpmu_activate_signup()`)

 I'm adding the multisite focus to this issue, because all of the current
 code is only relevant to multisite, but I'd like to see single-site
 inherit whatever future approach we can come up with.

 The core sign-ups code, stinks. Yet open registration is part of what
 makes WordPress & community/membership sites great. I think it would be
 great to take what we've learned from BuddyPress, WordPress.org,
 WordPress.com, and the bevy of Membership plugins, and make a great sign-
 up component/API for WordPress core.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38750>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list