Make WordPress Core

Changeset 59816


Ignore:
Timestamp:
02/12/2025 06:09:52 PM (15 months ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [22264], [25086].

See #62279.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-post.php

    r54133 r59816  
    3838     * @var string
    3939     */
    40     public $post_author = 0;
     40    public $post_author = '0';
    4141
    4242    /**
     
    208208     * @var string
    209209     */
    210     public $comment_count = 0;
     210    public $comment_count = '0';
    211211
    212212    /**
Note: See TracChangeset for help on using the changeset viewer.