Skip to:

Opened 4 years ago

Closed 4 years ago

#8258 closed enhancement (reported-upstream)

Create user_id on $wpdb->signups table

Reported by: stokim's profile stokim Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Core Keywords:


Hi there
Please create user_id column on $wpdb->signups table.
It is very hard to delete user data upon delete user's account.
ALTER TABLE $wpdb->signups ADD 'user_id' bigint(20) unsigned FIRST
Thank you.

Change History (3)

#1 @stokim
4 years ago

1756 line

                $args = array(
                        'user_id'        => $user_id,
                        'user_login'     => $user_login,
                        'user_email'     => $user_email,
                        'activation_key' => $activation_key,
                        'meta'           => $usermeta,

307 line

$r = bp_parse_args( $args,
                                'user_id'        => '',
                                'domain'         => '',
                                'path'           => '',
                                'title'          => '',
                                'user_login'     => '',
                                'user_email'     => '',
                                'registered'     => current_time( 'mysql', true ),
                                'activation_key' => '',
                                'meta'           => '',

I hope you add these lines and there's an option to delete user's signups data after activation. It does not required after activation account. Moreover, it does comply with GDPR clause.

#2 @stokim
4 years ago

  • Type changed from defect (bug) to enhancement

#3 @imath
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Hi @stokim

Thanks for your feedback. As $wpdb->signups is a WordPress generated table for Multisite that we also install on single site to manage these configs signups, I advise you to report this issue to WordPress, especially if there's a GDPR concern :

On our end, we will not add new fields to this table and can only add new meta data.

Note: See TracTickets for help on using tickets.