[wp-trac] [WordPress Trac] #52322: Add comment / comment id param to get_comment_time
WordPress Trac
noreply at wordpress.org
Tue Feb 7 18:24:17 UTC 2023
#52322: Add comment / comment id param to get_comment_time
---------------------------------------------+-----------------------
Reporter: spacedmonkey | Owner: audrasjb
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.2
Component: Comments | Version: 1.5
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch commit | Focuses:
---------------------------------------------+-----------------------
Comment (by SergeyBiryukov):
In [changeset:"55287" 55287]:
{{{
#!CommitTicketReference repository="" revision="55287"
Comments: Allow to pass `$comment_ID` parameter to `comment_time()`.
This brings consistency with:
* `get_comment_time()`
* `get_comment_date()`
* `comment_date()`
Includes:
* Correcting the `@since` tag for `get_comment_time()`.
* Synchronizing parameter description between `get_comment_date()` and
`get_comment_time()`.
Follow-up to [55284].
See #52322.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52322#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list