[wp-trac] [WordPress Trac] #19849: Pass $comment_date to get_comment_time filter

WordPress Trac noreply at wordpress.org
Wed Feb 26 12:32:10 UTC 2014


#19849: Pass $comment_date to get_comment_time filter
-------------------------+------------------------------
 Reporter:  lexhair      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Date/Time    |     Version:  3.3.1
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by lexhair):

 Replying to [comment:2 SergeyBiryukov]:
 > I think we can pass the comment object to the filter in both
 `get_comment_date()` and `get_comment_time()`.
 Thank you. That's the solution I was looking for.

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


More information about the wp-trac mailing list