mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
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:
parent
6f2bba08d9
commit
5478a88919
@ -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
|
||||
*
|
||||
* @param int $user_id User ID.
|
||||
* @param string $name Application name.
|
||||
*
|
||||
* @return bool Provided application name exists or not.
|
||||
* @return bool Whether provided application name exists or not.
|
||||
*/
|
||||
public static function application_name_exists_for_user( $user_id, $name ) {
|
||||
$passwords = static::get_user_application_passwords( $user_id );
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @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.
|
||||
|
Loading…
Reference in New Issue
Block a user