mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 16:21:26 +01:00
Make the docs type for return
in wpmu_create_user()
more specific.
See #30224. Built from https://develop.svn.wordpress.org/trunk@30165 git-svn-id: http://core.svn.wordpress.org/trunk@30165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e41e38183d
commit
892be738b0
@ -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 ) );
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-alpha-30164';
|
||||
$wp_version = '4.1-alpha-30165';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user