Use `get_users()` instead of the deprecated `get_users_of_blog()` in `Tests_User_Capabilities::setUp()` to avoid a tornado of warnings in debug mode.

See #25282.



git-svn-id: https://develop.svn.wordpress.org/trunk@25353 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2013-09-11 17:55:12 +00:00
parent 9dc7afd478
commit 135198d66d
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class Tests_User_Capabilities extends WP_UnitTestCase {
// keep track of users we create
$this->_flush_roles();
$this->orig_users = get_users_of_blog();
$this->orig_users = get_users();
}
function _flush_roles() {