mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Update documentation for WP_Application_Passwords::application_name_exists_for_user() per the documentation standards.
Follow-up to [50030]. See #51941. git-svn-id: https://develop.svn.wordpress.org/trunk@50057 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user