mirror of
git://develop.git.wordpress.org/
synced 2025-04-10 23:22:04 +02:00
The `$comment_id` parameter of the `get_comment_author` filter is documented as a numeric string, however in case a non-existing comment ID is passed to the `get_comment_author()` function, it could be an integer instead. This commit resolves the issue and adds a PHPUnit test demonstrating the behavior. Includes updating `get_comment_author_url()` unit tests for consistency. Follow-up to [41127], [52818]. Props david.binda. Fixes #60475. git-svn-id: https://develop.svn.wordpress.org/trunk@58335 602fd350-edb4-49c9-b593-d223f7449a82