wordpress-develop/tests/phpunit/tests/user
Sergey Biryukov 7d15225ad0 Users: Check if the user ID passed as selected to wp_dropdown_users() corresponds to an existing user.
This avoids a few PHP notices if the `include_selected` parameter was specified and a non-existing user ID was passed.

Props campusboy1987.
Fixes #51370.

git-svn-id: https://develop.svn.wordpress.org/trunk@49036 602fd350-edb4-49c9-b593-d223f7449a82
2020-09-23 00:25:47 +00:00
..
author.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
capabilities.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
countUserPosts.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
countUsers.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
dateQuery.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
getActiveBlogForUser.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
listAuthors.php Tests: Replace a few more instances of assertEquals() with assertSame(). 2020-09-05 16:47:50 +00:00
mapMetaCap.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
multisite.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
query.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
session.php Code is Poetry. 2017-11-30 23:09:33 +00:00
slashes.php Tests: Speed up slashed data tests by reusing some more shared fixtures. 2020-09-19 11:11:00 +00:00
updateUserCaches.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
wpAuthenticateSpamCheck.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
wpDeleteUser.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
wpDropdownUsers.php Users: Check if the user ID passed as selected to wp_dropdown_users() corresponds to an existing user. 2020-09-23 00:25:47 +00:00
wpGetUsersWithNoRole.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
wpSendUserRequest.php Tests: Correct a number of malformed @covers tags. 2020-08-23 17:23:52 +00:00
wpSetCurrentUser.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00