wp/wp-includes/class-wp-post.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
--- a/wp/wp-includes/class-wp-post.php	Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/class-wp-post.php	Fri Sep 05 18:52:52 2025 +0200
@@ -37,7 +37,7 @@
 	 * @since 3.5.0
 	 * @var string
 	 */
-	public $post_author = 0;
+	public $post_author = '0';
 
 	/**
 	 * The post's local publication time.
@@ -207,7 +207,7 @@
 	 * @since 3.5.0
 	 * @var string
 	 */
-	public $comment_count = 0;
+	public $comment_count = '0';
 
 	/**
 	 * Stores the post object's sanitization level.