[buddypress-trac] [BuddyPress Trac] #5574: Tool to repare Signups for non multisite configs
buddypress-trac
noreply at wordpress.org
Tue Apr 22 12:16:24 UTC 2014
#5574: Tool to repare Signups for non multisite configs
-------------------------+-----------------------------------
Reporter: imath | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.0.1
Component: Core | Version: 2.0
Severity: normal | Keywords: has-patch 2nd-opinion
-------------------------+-----------------------------------
I had the opportunity to get a full database after a 2.0 upgrade trouble.
The problem was the activation_key meta was existing (empty or not) and
this created entries in the signups table that can be confusing.
On the copy of the database, i've also noticed the signups were created 13
times. I guess the user roll back and re upgrade 13 times to be in this
situation
I'm not sure it needs a dedicated repare tools but i'm also not sure it
should be in an upgrade routine.
What the tool does:
It deletes all {{{active = 0}}} signups when the corresponding user's
status is not 2.
If the constant {{{BP_SIGNUPS_SKIP_USER_CREATION}}} is set i prefer to not
make this tool available.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5574>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list