[buddypress-trac] [BuddyPress Trac] #6418: Introduce functionality to query members by member_type where member_type NOT IN
buddypress-trac
noreply at wordpress.org
Wed May 6 09:03:58 UTC 2015
#6418: Introduce functionality to query members by member_type where member_type
NOT IN
---------------------------------+--------------------
Reporter: lakrisgubben | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.4
Component: Component - Members | Version: 2.2.3
Severity: normal | Resolution:
Keywords: needs-unit-tests |
---------------------------------+--------------------
Comment (by lakrisgubben):
thanks @boone!
Latest patch adds unit tests for all the cases you mentioned above. I went
with `member_type__not_in` takes precedence over `member_type` and
`member_type__in` since that's how it seems that WP core handles those
kinds of cases (looked at `author__not_in` vs `author__in`). Wasn't sure
if I should test for all different cases of array, comma-separated etc.
with `member_type__not_in` so if you'd like that please let me know and
I'll add those as well. :)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6418#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list