Make WordPress Core


Ignore:
Timestamp:
07/19/2021 09:13:36 PM (4 years ago)
Author:
johnbillion
Message:

Application Passwords: Improve various user-facing and developer-facing terminology.

Fixes #53503, #53691

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-application-passwords.php

    r50057 r51463  
    152152
    153153    /**
    154      * Gets a user's application password with the given uuid.
    155      *
    156      * @since 5.6.0
    157      *
    158      * @param int    $user_id User ID.
    159      * @param string $uuid    The password's uuid.
     154     * Gets a user's application password with the given UUID.
     155     *
     156     * @since 5.6.0
     157     *
     158     * @param int    $user_id User ID.
     159     * @param string $uuid    The password's UUID.
    160160     * @return array|null The application password if found, null otherwise.
    161161     */
     
    199199     *
    200200     * @param int    $user_id User ID.
    201      * @param string $uuid    The password's uuid.
     201     * @param string $uuid    The password's UUID.
    202202     * @param array  $update  Information about the application password to update.
    203203     * @return true|WP_Error True if successful, otherwise a WP_Error instance is returned on error.
     
    253253     *
    254254     * @param int    $user_id User ID.
    255      * @param string $uuid    The password's uuid.
     255     * @param string $uuid    The password's UUID.
    256256     * @return true|WP_Error True if the usage was recorded, a WP_Error if an error occurs.
    257257     */
     
    291291     *
    292292     * @param int    $user_id User ID.
    293      * @param string $uuid    The password's uuid.
     293     * @param string $uuid    The password's UUID.
    294294     * @return true|WP_Error Whether the password was successfully found and deleted, a WP_Error otherwise.
    295295     */
Note: See TracChangeset for help on using the changeset viewer.