WordPress build repository browser

Changeset 59147


Ignore:
Timestamp:
02/11/2025 01:40:30 PM (10 months ago)
Author:
SergeyBiryukov
Message:

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

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

See #62279.
Built from https://develop.svn.wordpress.org/trunk@59805

Location:
trunk/wp-includes
Files:
2 edited

Legend:

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

    r58723 r59147  
    3434     * @var string
    3535     */
    36     public $comment_post_ID = 0;
     36    public $comment_post_ID = '0';
    3737
    3838    /**
     
    100100     * @var string
    101101     */
    102     public $comment_karma = 0;
     102    public $comment_karma = '0';
    103103
    104104    /**
     
    135135     * @var string
    136136     */
    137     public $comment_parent = 0;
     137    public $comment_parent = '0';
    138138
    139139    /**
     
    145145     * @var string
    146146     */
    147     public $user_id = 0;
     147    public $user_id = '0';
    148148
    149149    /**
  • trunk/wp-includes/version.php

    r59146 r59147  
    1717 * @global string $wp_version
    1818 */
    19 $wp_version = '6.8-alpha-59804';
     19$wp_version = '6.8-alpha-59805';
    2020
    2121/**
Note: See TracChangeset for help on using the changeset viewer.