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.

git-svn-id: https://develop.svn.wordpress.org/trunk@47494 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-03-23 20:18:15 +00:00
parent 630ba8979a
commit ad8d01a7e9

View File

@ -10,6 +10,7 @@ final class WP_User_Request {
/** /**
* Request ID. * Request ID.
* *
* @since 4.9.6
* @var int * @var int
*/ */
public $ID = 0; public $ID = 0;
@ -17,6 +18,7 @@ final class WP_User_Request {
/** /**
* User ID. * User ID.
* *
* @since 4.9.6
* @var int * @var int
*/ */
public $user_id = 0; public $user_id = 0;
@ -24,13 +26,15 @@ final class WP_User_Request {
/** /**
* User email. * User email.
* *
* @var int * @since 4.9.6
* @var string
*/ */
public $email = ''; public $email = '';
/** /**
* Action name. * Action name.
* *
* @since 4.9.6
* @var string * @var string
*/ */
public $action_name = ''; public $action_name = '';
@ -38,6 +42,7 @@ final class WP_User_Request {
/** /**
* Current status. * Current status.
* *
* @since 4.9.6
* @var string * @var string
*/ */
public $status = ''; public $status = '';
@ -45,6 +50,7 @@ final class WP_User_Request {
/** /**
* Timestamp this request was created. * Timestamp this request was created.
* *
* @since 4.9.6
* @var int|null * @var int|null
*/ */
public $created_timestamp = null; public $created_timestamp = null;
@ -52,6 +58,7 @@ final class WP_User_Request {
/** /**
* Timestamp this request was last modified. * Timestamp this request was last modified.
* *
* @since 4.9.6
* @var int|null * @var int|null
*/ */
public $modified_timestamp = null; public $modified_timestamp = null;
@ -59,20 +66,23 @@ final class WP_User_Request {
/** /**
* Timestamp this request was confirmed. * Timestamp this request was confirmed.
* *
* @var int * @since 4.9.6
* @var int|null
*/ */
public $confirmed_timestamp = null; public $confirmed_timestamp = null;
/** /**
* Timestamp this request was completed. * Timestamp this request was completed.
* *
* @var int * @since 4.9.6
* @var int|null
*/ */
public $completed_timestamp = null; public $completed_timestamp = null;
/** /**
* Misc data assigned to this request. * Misc data assigned to this request.
* *
* @since 4.9.6
* @var array * @var array
*/ */
public $request_data = array(); public $request_data = array();
@ -80,6 +90,7 @@ final class WP_User_Request {
/** /**
* Key used to confirm this request. * Key used to confirm this request.
* *
* @since 4.9.6
* @var string * @var string
*/ */
public $confirm_key = ''; public $confirm_key = '';