[wp-trac] [WordPress Trac] #52322: Add comment / comment id param to get_comment_time

WordPress Trac noreply at wordpress.org
Fri Nov 25 19:18:27 UTC 2022


#52322: Add comment / comment id param to get_comment_time
--------------------------------------+------------------------
 Reporter:  spacedmonkey              |       Owner:  audrasjb
     Type:  enhancement               |      Status:  reviewing
 Priority:  normal                    |   Milestone:  6.2
Component:  Comments                  |     Version:  1.5
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------------
Changes (by h4l9k):

 * keywords:  good-first-bug has-patch needs-refresh changes-requested =>
     good-first-bug has-patch


Comment:

 I submitted a new patch for this
 [https://core.trac.wordpress.org/attachment/ticket/52322/52322.3.diff
 52322.3], refreshing the one from @travisaxton (new comparison against
 `trunk`) and with the additions mentioned by @rudlinkon and
 @SergeyBiryukov. I added `$comment_ID` to `comment_time()` for consistency
 to the filter `get_comment_time`, and `@since` notes in both
 `comment_time()` and `get_comment_time()`.

 This is my first contribution.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52322#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list