Docs: Update documentation for `WP_Application_Passwords::application_name_exists_for_user()` per the documentation standards.

Follow-up to [50030].

See #51941.
Built from https://develop.svn.wordpress.org/trunk@50057


git-svn-id: http://core.svn.wordpress.org/trunk@49758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-01-28 13:10:57 +00:00
parent 6f2bba08d9
commit 5478a88919
2 changed files with 3 additions and 4 deletions

View File

@ -172,14 +172,13 @@ class WP_Application_Passwords {
} }
/** /**
* Check if application name exists before for this user. * Checks if application name exists for this user.
* *
* @since 5.7.0 * @since 5.7.0
* *
* @param int $user_id User ID. * @param int $user_id User ID.
* @param string $name Application name. * @param string $name Application name.
* * @return bool Whether provided application name exists or not.
* @return bool Provided application name exists or not.
*/ */
public static function application_name_exists_for_user( $user_id, $name ) { public static function application_name_exists_for_user( $user_id, $name ) {
$passwords = static::get_user_application_passwords( $user_id ); $passwords = static::get_user_application_passwords( $user_id );

View File

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