Changes between Initial Version and Version 1 of Ticket #6418, comment 7
- Timestamp:
- 05/07/2015 10:01:22 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6418, comment 7
initial v1 1 1 cool @boone, thanks! 2 2 3 I'm not sure that passing an empty array to `member_type` is the best way (might be wrong though), it seems a bit non-intuitive that an empty array would result in getting all members without a member_type. Looking at how WP_Query handles tags (which is the only default thing that can be empty, seeing as how a category and author is always set) it doesn't do anything at all if you pass an empty value to `tag` or `tag__in`3 I'm not sure that passing an empty array to `member_type` is the best way (might be wrong though), it seems a bit non-intuitive that an empty array would result in getting all members without a member_type. Looking at how WP_Query handles tags (which is the only default thing that can be empty, seeing as how a category and author is always set) it doesn't do anything at all (i.e. it ignores the tag parameter) if you pass an empty value to `tag` or `tag__in` 4 4 5 5 Wouldn't a query like `member_type__not_in => bp_get_member_types()` be an easier way to accomplish this?