Docs: Various docblock corrections and improvements.

See #50768

git-svn-id: https://develop.svn.wordpress.org/trunk@48941 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-09-04 20:39:47 +00:00
parent 3e111d9799
commit d34a21c950
8 changed files with 44 additions and 21 deletions
+15 -5
View File
@@ -17,16 +17,20 @@ final class WP_Comment {
/**
* Comment ID.
*
* A numeric string, for compatibility reasons.
*
* @since 4.4.0
* @var int
* @var string
*/
public $comment_ID;
/**
* ID of the post the comment is associated with.
*
* A numeric string, for compatibility reasons.
*
* @since 4.4.0
* @var int
* @var string
*/
public $comment_post_ID = 0;
@@ -89,8 +93,10 @@ final class WP_Comment {
/**
* Comment karma count.
*
* A numeric string, for compatibility reasons.
*
* @since 4.4.0
* @var int
* @var string
*/
public $comment_karma = 0;
@@ -122,16 +128,20 @@ final class WP_Comment {
/**
* Parent comment ID.
*
* A numeric string, for compatibility reasons.
*
* @since 4.4.0
* @var int
* @var string
*/
public $comment_parent = 0;
/**
* Comment author ID.
*
* A numeric string, for compatibility reasons.
*
* @since 4.4.0
* @var int
* @var string
*/
public $user_id = 0;