wordpress-develop/tests/phpunit/tests/user
Boone Gorges cf6f354fa8 Allow 'role' parameters to be passed to wp_dropdown_users().
`wp_dropdown_users()` contains a whitelist of function params that are
passed through to `get_users()`. `role`, `role__in`, and `role__not_in`
have now been added to this whitelist.

Props sillybean.
Fixes #38135.

git-svn-id: https://develop.svn.wordpress.org/trunk@38651 602fd350-edb4-49c9-b593-d223f7449a82
2016-09-25 17:44:24 +00:00
..
author.php Unit Tests: prevent rewrite spillage from @group author unit tests. 2016-04-22 23:47:27 +00:00
capabilities.php Role/Capability: Correct the multisite cap tests after [38521]. 2016-09-05 12:08:39 +00:00
countUserPosts.php Unit Tests: 2016-08-27 08:35:16 +00:00
countUsers.php Ensure the count for users with no role remains accurate when users with multiple roles are present. 2015-11-19 17:10:47 +00:00
dateQuery.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
listAuthors.php Unit Tests: 2016-08-27 08:35:16 +00:00
mapMetaCap.php Role/Capability: Only users who can manage options should be able to trash/delete the page for posts or the front page, as they are the only users who can restore it or subsequently alter the "Front page displays" setting. 2016-08-26 18:22:28 +00:00
multisite.php Tests: Reduce unnecessary count in create_many() in multisite user tests 2016-04-27 06:32:47 +00:00
query.php Unit Tests: 2016-08-27 08:35:16 +00:00
session.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
slashes.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
updateUserCaches.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
wpAuthenticateSpamCheck.php Users: Provide a full user object when checking for a spammy multisite user 2016-04-27 05:35:37 +00:00
wpDeleteUser.php Unit Tests: Change some @group annotations to @ticket. 2016-07-04 20:24:52 +00:00
wpDropdownUsers.php Allow 'role' parameters to be passed to wp_dropdown_users(). 2016-09-25 17:44:24 +00:00
wpGetUsersWithNoRole.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
wpSetCurrentUser.php Unit Tests: 2016-08-27 08:35:16 +00:00