buddypress/tests
Boone B Gorges 92562d5f5c Prevent BP_User_Query from fetching spam users on alphabetical sort
BP_User_Query's 'alphabetical' sort type, in contrast to the other values of
'type', does not look at users' last_activity usermeta value. As a result, it
cannot infer spam/deleted/activated status in the same way as the other 'type'
values. To prevent spammed/deleted/unactivated users from being returned on
alphabetical sorts, we do a subquery that limits results to user_status = 0.

Fixes #5114

Props sbrajesh, imath

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7638 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2013-12-02 20:49:29 +00:00
..
assets Strict standards compliance in unit test group extensions 2013-11-02 02:13:59 +00:00
includes First pass at bp-notifications component. Includes: 2013-11-07 17:15:51 +00:00
testcases Prevent BP_User_Query from fetching spam users on alphabetical sort 2013-12-02 20:49:29 +00:00
bootstrap.php Better backward compatibility for tests configuration 2013-10-14 23:28:38 +00:00
multisite.xml Add support for multisite.xml unit tests 2013-05-09 01:05:45 +00:00
phpunit.xml Moves automated testing suite into BuddyPress core 2013-04-11 00:00:13 +00:00