From 5478a889190e8990076d0153f32c64b5b48438a9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 28 Jan 2021 13:10:57 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-application-passwords.php | 5 ++--- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-application-passwords.php b/wp-includes/class-wp-application-passwords.php index 0fd5d8b40a..b19b87377f 100644 --- a/wp-includes/class-wp-application-passwords.php +++ b/wp-includes/class-wp-application-passwords.php @@ -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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index bafe2daed5..02883bc93a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.