[wp-trac] [WordPress Trac] #9272: Expand human_time_diff()'s abilities

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 10 18:39:01 UTC 2012


#9272: Expand human_time_diff()'s abilities
-------------------------------------------------+-------------------------
 Reporter:  Viper007Bond                         |       Owner:
     Type:  enhancement                          |  Viper007Bond
 Priority:  normal                               |      Status:  new
Component:  Date/Time                            |   Milestone:  Future
 Severity:  normal                               |  Release
 Keywords:  has-patch needs-testing rtl-         |     Version:  2.8
  feedback                                       |  Resolution:
-------------------------------------------------+-------------------------

Comment (by Viper007Bond):

 I intended for all of the functions in my patch to accept `( $from, $to )`
 but just now realized that the `func_get_arg()` code won't pass through
 the wrapper functions. That was an oversight on my part and I agree
 totally. Being forced to construct an array is annoying and was not my
 intention (it was supposed to be optional).

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


More information about the wp-trac mailing list