Skip to:
Content

BuddyPress.org

#8258 closed enhancement (reported-upstream)

Create user_id on $wpdb->signups table

Reported by: stokim Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc:

Description

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
15 months ago

bp-members-functions.php
1756 line

<?php
                $args = array(
                        'user_id'        => $user_id,
                        'user_login'     => $user_login,
                        'user_email'     => $user_email,
                        'activation_key' => $activation_key,
                        'meta'           => $usermeta,
                );

class-bp-signup.php
307 line

<?php
$r = bp_parse_args( $args,
                        array(
                                'user_id'        => '',
                                'domain'         => '',
                                'path'           => '',
                                'title'          => '',
                                'user_login'     => '',
                                'user_email'     => '',
                                'registered'     => current_time( 'mysql', true ),
                                'activation_key' => '',
                                'meta'           => '',
                        ),
                        'bp_core_signups_add_args'
                );

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
15 months ago

  • Type changed from defect (bug) to enhancement

#3 @imath
15 months 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 :

https://core.trac.wordpress.org/newticket

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.