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