mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-24 07:36:02 +00: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. Built from https://develop.svn.wordpress.org/trunk@58335 git-svn-id: http://core.svn.wordpress.org/trunk@57791 1a063a9b-81f0-0310-95a4-ce76da25c4cd