wp/wp-includes/class-wp-post.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
    35 	 * A numeric string, for compatibility reasons.
    35 	 * A numeric string, for compatibility reasons.
    36 	 *
    36 	 *
    37 	 * @since 3.5.0
    37 	 * @since 3.5.0
    38 	 * @var string
    38 	 * @var string
    39 	 */
    39 	 */
    40 	public $post_author = 0;
    40 	public $post_author = '0';
    41 
    41 
    42 	/**
    42 	/**
    43 	 * The post's local publication time.
    43 	 * The post's local publication time.
    44 	 *
    44 	 *
    45 	 * @since 3.5.0
    45 	 * @since 3.5.0
   205 	 * A numeric string, for compatibility reasons.
   205 	 * A numeric string, for compatibility reasons.
   206 	 *
   206 	 *
   207 	 * @since 3.5.0
   207 	 * @since 3.5.0
   208 	 * @var string
   208 	 * @var string
   209 	 */
   209 	 */
   210 	public $comment_count = 0;
   210 	public $comment_count = '0';
   211 
   211 
   212 	/**
   212 	/**
   213 	 * Stores the post object's sanitization level.
   213 	 * Stores the post object's sanitization level.
   214 	 *
   214 	 *
   215 	 * Does not correspond to a DB field.
   215 	 * Does not correspond to a DB field.