Make the docs type for return in wpmu_create_user() more specific.

See #30224.


git-svn-id: https://develop.svn.wordpress.org/trunk@30165 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-11-01 22:33:00 +00:00
parent b4d0961718
commit 4e68f104f6

View File

@ -1063,7 +1063,7 @@ function wpmu_activate_signup($key) {
* @param string $user_name The new user's login name.
* @param string $password The new user's password.
* @param string $email The new user's email address.
* @return mixed Returns false on failure, or int $user_id on success
* @return int|bool Returns false on failure, or int $user_id on success
*/
function wpmu_create_user( $user_name, $password, $email ) {
$user_name = preg_replace( '/\s+/', '', sanitize_user( $user_name, true ) );