[buddypress-trac] [BuddyPress Trac] #6418: Introduce functionality to query members by member_type where member_type NOT IN
buddypress-trac
noreply at wordpress.org
Mon Jun 29 14:53:51 UTC 2015
#6418: Introduce functionality to query members by member_type where member_type
NOT IN
---------------------------------+---------------------------
Reporter: lakrisgubben | Owner: boonebgorges
Type: enhancement | Status: assigned
Priority: normal | Milestone: 2.4
Component: Component - Members | Version: 2.2.3
Severity: normal | Resolution:
Keywords: commit has-patch |
---------------------------------+---------------------------
Comment (by boonebgorges):
> I think it just makes more sense to parse the requirement this way
rather than rely on passing null (which strikes me as rather non-obvious).
Just to be clear: My proposal was that `null` be the *default* value. To
fetch users who have no member types, you'd pass *an empty array*. This,
to me, is fairly intuitive.
That being said, I don't feel strongly about it, and `member_type__not_in
=> bp_get_member_types()` is functionally identical. I'll go ahead with
the patch as it currently stands.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6418#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list