[buddypress-trac] [BuddyPress Trac] #6123: "Signups" are displayed as members on non multisite configs
buddypress-trac
noreply at wordpress.org
Wed Jan 21 22:26:54 UTC 2015
#6123: "Signups" are displayed as members on non multisite configs
-----------------------------------+------------------
Reporter: imath | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.2
Component: Members | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+------------------
Comment (by johnjamesjacoby):
This is going to be tricky. I don't think we have adequate functions for
determining a users actual status.
* `bp_is_user_deleted()` checks `2 == $user->user_status` which conflicts
with our more recent sign-ups status. It also checks `$user->deleted`
which appears to be completely unsupported by WordPress core.
* We should probably have something like `bp_is_user_pending()` to tell us
"This person signed up, but hasn't activated their account."
* All of our `bp_is_user_` status functions truly need to be modernized on
top of a user-status API before we go too deep. Then we need
`bp_get_member_status( $user_id )` that returns a literal string based on
that API.
Do the bare minimum to prevent non-moderator level users from seeing
inactive accounts, and let's look heavily into this for 2.3.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6123#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list