Make WordPress Core


Ignore:
Timestamp:
06/02/2020 09:02:49 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Comments: Rename Walker_Comment::comment_text() to ::filter_comment_text() for clarity.

Ensure the comment object is not null before checking its status.

Follow-up to [47887].

Merges [47889] to the 5.4 branch.
See #49956.

Location:
branches/5.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.4

  • branches/5.4/src/wp-includes/comment-template.php

    r47366 r47890  
    10171017     *
    10181018     * @param string          $comment_text Text of the current comment.
    1019      * @param WP_Comment|null $comment      The comment object.
     1019     * @param WP_Comment|null $comment      The comment object. Null if not found.
    10201020     * @param array           $args         An array of arguments.
    10211021     */
Note: See TracChangeset for help on using the changeset viewer.