Make WordPress Core

Changeset 60362


Ignore:
Timestamp:
06/29/2025 05:45:23 PM (15 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Explicitly return null in get_page_of_comment().

This matches the documented @return type.

Follow-up to [9367].

Props justlevine.
See #63268.

File:
1 edited

Legend:

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

    r60330 r60362  
    10511051        $comment = get_comment( $comment_id );
    10521052        if ( ! $comment ) {
    1053                 return;
     1053                return null;
    10541054        }
    10551055
Note: See TracChangeset for help on using the changeset viewer.