Docs: Improve description of the `$email` parameter in `email_exists()`.

Follow-up to [49148].

Props garrett-eclipse.
See #51379.
Built from https://develop.svn.wordpress.org/trunk@49153


git-svn-id: http://core.svn.wordpress.org/trunk@48915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-10-15 00:16:08 +00:00
parent 8d2beacd45
commit 22c86907c4
2 changed files with 4 additions and 4 deletions

View File

@ -1604,7 +1604,7 @@ function username_exists( $username ) {
*
* @param int|false $user_id The user ID associated with the username,
* or false if the username does not exist.
* @param string $username Username to check.
* @param string $username The username to check for existence.
*/
return apply_filters( 'username_exists', $user_id, $username );
}
@ -1618,7 +1618,7 @@ function username_exists( $username ) {
*
* @since 2.1.0
*
* @param string $email Email.
* @param string $email The email to check for existence.
* @return int|false The user ID on success, false on failure.
*/
function email_exists( $email ) {
@ -1636,7 +1636,7 @@ function email_exists( $email ) {
*
* @param int|false $user_id The user ID associated with the email,
* or false if the email does not exist.
* @param string $email Email.
* @param string $email The email to check for existence.
*/
return apply_filters( 'email_exists', $user_id, $email );
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.6-alpha-49152';
$wp_version = '5.6-alpha-49153';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.