WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/23/2020 08:18:15 PM (8 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing @since tags for WP_User_Request properties.

Correct type for $email, $confirmed_timestamp, and $completed_timestamp properties.

Props pbiron, garrett-eclipse.
Fixes #49675.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-user-request.php

    r46586 r47494  
    1111     * Request ID.
    1212     *
     13     * @since 4.9.6
    1314     * @var int
    1415     */
     
    1819     * User ID.
    1920     *
     21     * @since 4.9.6
    2022     * @var int
    2123     */
     
    2527     * User email.
    2628     *
    27      * @var int
     29     * @since 4.9.6
     30     * @var string
    2831     */
    2932    public $email = '';
     
    3235     * Action name.
    3336     *
     37     * @since 4.9.6
    3438     * @var string
    3539     */
     
    3943     * Current status.
    4044     *
     45     * @since 4.9.6
    4146     * @var string
    4247     */
     
    4651     * Timestamp this request was created.
    4752     *
     53     * @since 4.9.6
    4854     * @var int|null
    4955     */
     
    5359     * Timestamp this request was last modified.
    5460     *
     61     * @since 4.9.6
    5562     * @var int|null
    5663     */
     
    6067     * Timestamp this request was confirmed.
    6168     *
    62      * @var int
     69     * @since 4.9.6
     70     * @var int|null
    6371     */
    6472    public $confirmed_timestamp = null;
     
    6775     * Timestamp this request was completed.
    6876     *
    69      * @var int
     77     * @since 4.9.6
     78     * @var int|null
    7079     */
    7180    public $completed_timestamp = null;
     
    7483     * Misc data assigned to this request.
    7584     *
     85     * @since 4.9.6
    7686     * @var array
    7787     */
     
    8191     * Key used to confirm this request.
    8292     *
     93     * @since 4.9.6
    8394     * @var string
    8495     */
Note: See TracChangeset for help on using the changeset viewer.