[wp-trac] [WordPress Trac] #58064: In the comment_time function, the call to the get_comment_time function is incorrect.
WordPress Trac
noreply at wordpress.org
Mon Apr 3 04:48:25 UTC 2023
#58064: In the comment_time function, the call to the get_comment_time function is
incorrect.
--------------------------+-----------------------------
Reporter: tmatsuur | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 6.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The parameter $comment_id was added to the comment_time function in
version 6.2, but it is not correctly passed on to the get_comment_time
function called in it.
Current:
{{{
echo get_comment_time( $format, $comment_id );
}}}
Corrected content:
{{{
echo get_comment_time( $format, false, true, $comment_id );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58064>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list