[wp-trac] [WordPress Trac] #18495: human_time_diff() localization

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 23 14:30:17 UTC 2011


#18495: human_time_diff() localization
--------------------------+------------------------------
 Reporter:  pavelevap     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by pavelevap):

 Thank you for patch!

 I tried bbPress filters, but using filter bbp_get_topic_freshness_link is
 only for topics and not for forums and there are also other filters, for
 example bbp_get_forum_freshness_link (for forum), etc. Digging deeper I
 found also function (and filter) bbp_get_time_since, but this filter does
 not work for me, maybe because there is hardcoded function in
 apply_filters()?

 {{{
 apply_filters( 'bbp_get_time_since', human_time_diff( $time, current_time(
 'timestamp' ) ), $time );
 }}}

 But this discussion should be probably on bbPress Trac...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18495#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list