wordpress-develop/tests/phpunit/tests/user
Jeremy Felt ef1f697564 Multisite: Allow users with manage_network_users to edit network users.
Other users in a network can now be given capabilities to manage users without also having global super admin privileges.

* Users with `manage_network_users` can not edit super admins.
* Users with `manage_network_users` can not promote users to super admin.
* Uses of `is_super_admin()` in `user-new.php` are now updated to `manage_network_users`.

Props daniellandau, chriscct7.
Fixes #16860.


git-svn-id: https://develop.svn.wordpress.org/trunk@33988 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-10 03:33:22 +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 Multisite: Allow users with manage_network_users to edit network users. 2015-09-10 03:33:22 +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 In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
multisite.php Improve the efficiency of is_user_member_of_blog() by removing its use of get_blogs_of_user(). Adds additional tests. 2015-08-27 20:01:37 +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