[wp-trac] [WordPress Trac] #61715: Only type cast a scalar $comment_id in get_comment_author_link()
WordPress Trac
noreply at wordpress.org
Wed Jul 24 14:46:24 UTC 2024
#61715: Only type cast a scalar $comment_id in get_comment_author_link()
--------------------------------------+---------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7
Component: Comments | Version: 6.2
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+---------------------
Comment (by SergeyBiryukov):
Replying to [comment:4 iflairwebtechnologies]:
> Reviewed and updated the get_comment_author() function in wp-includes
/comment-template.php to improve type handling and readability.
Thanks for the patch! I might be missing something, but I don't see any
changes to the `get_comment_author_link()` function in that patch, which
was the point of this ticket. Instead, the patch appears to remove all of
the contents in the `wp-includes/comment-template.php` file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61715#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list