Coding Standards: Correct default values in WP_Comment to match the documented type.

Follow-up to [33891], [48941].

See .

git-svn-id: https://develop.svn.wordpress.org/trunk@59805 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2025-02-11 13:38:12 +00:00
parent d8425b280a
commit a91a243e32

@ -33,7 +33,7 @@ final class WP_Comment {
* @since 4.4.0
* @var string
*/
public $comment_post_ID = 0;
public $comment_post_ID = '0';
/**
* Comment author name.
@ -99,7 +99,7 @@ final class WP_Comment {
* @since 4.4.0
* @var string
*/
public $comment_karma = 0;
public $comment_karma = '0';
/**
* Comment approval status.
@ -134,7 +134,7 @@ final class WP_Comment {
* @since 4.4.0
* @var string
*/
public $comment_parent = 0;
public $comment_parent = '0';
/**
* Comment author ID.
@ -144,7 +144,7 @@ final class WP_Comment {
* @since 4.4.0
* @var string
*/
public $user_id = 0;
public $user_id = '0';
/**
* Comment children.