wordpress-develop/tests/phpunit/tests/user
Scott Taylor c16e8b5616 Add sanity checks in map_meta_cap(), return 'do_not_allow' when posts don't exist.
Adds unit test.

Props ocean90, nerrad, filosofo.
Fixes #23162.


git-svn-id: https://develop.svn.wordpress.org/trunk@34113 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-14 04:43:48 +00:00
..
author.php Pass post type to count_user_posts() in get_the_author_posts(). 2015-01-08 19:52:52 +00:00
capabilities.php Fail gracefully when checking mapped cap against unregistered post type. 2015-09-12 21:26:57 +00:00
countUserPosts.php Support multiple post types in count_user_posts() and other functions that use get_posts_by_author_sql(). 2015-05-21 18:42:49 +00:00
dateQuery.php Support date_query by user_registered in WP_User_Query. 2014-10-17 01:36:36 +00:00
listAuthors.php Share fixtures across wp_list_authors() tests. 2015-03-08 15:57:02 +00:00
mapMetaCap.php Add sanity checks in map_meta_cap(), return 'do_not_allow' when posts don't exist. 2015-09-14 04:43:48 +00:00
multisite.php Require numeric IDs in user deletion functions. 2015-09-11 02:24:03 +00:00
query.php Avoid returning duplicate matches when using a meta query in WP_User_Query. 2015-06-09 17:41:35 +00:00
session.php Rename the public methods in the session tokens API. 2014-08-27 02:06:53 +00:00
slashes.php Fix typo in a comment in slashing tests. 2015-01-07 07:08:47 +00:00
wpDeleteUser.php Require numeric IDs in user deletion functions. 2015-09-11 02:24:03 +00:00