Make WordPress Core


Ignore:
Timestamp:
05/08/2023 10:35:38 PM (21 months ago)
Author:
johnbillion
Message:

Docs: A host of corrections and improvements to inline documentation.

See #57840

File:
1 edited

Legend:

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

    r54133 r55732  
    6969     *     @type string $app_id A UUID provided by the application to uniquely identify it.
    7070     * }
    71      * @return array|WP_Error The first key in the array is the new password, the second is its detailed information.
    72      *                        A WP_Error instance is returned on error.
     71     * @return array|WP_Error {
     72     *     Application password details, or a WP_Error instance if an error occurs.
     73     *
     74     *     @type string $0 The unhashed generated application password.
     75     *     @type array  $1 {
     76     *         The details about the created password.
     77     *
     78     *         @type string $uuid      The unique identifier for the application password.
     79     *         @type string $app_id    A UUID provided by the application to uniquely identify it.
     80     *         @type string $name      The name of the application password.
     81     *         @type string $password  A one-way hash of the password.
     82     *         @type int    $created   Unix timestamp of when the password was created.
     83     *         @type null   $last_used Null.
     84     *         @type null   $last_ip   Null.
     85     *     }
     86     * }
    7387     */
    7488    public static function create_new_application_password( $user_id, $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.