[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 12:38:58 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 iflairwebtechnologies):
Reviewed and updated the get_comment_author() function in wp-includes
/comment-template.php to improve type handling and readability. This
function is critical for retrieving and formatting the comment author's
information in WordPress.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61715#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list