[wp-trac] [WordPress Trac] #40657: Deprecate current_time( 'timestamp' )

WordPress Trac noreply at wordpress.org
Thu Jun 28 06:47:10 UTC 2018


#40657: Deprecate current_time( 'timestamp' )
-------------------------+------------------------------
 Reporter:  jdgrimes     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Date/Time    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by Rarst):

 I’ve just recently started on that very major fixup of whole Date/Time
 component, so getting there. :)

 `current_time()` is clearly one of the most problematic functions (after
 `date_i18n()`) and there are 6+ tickets about dealing with it. So I don't
 have a clear idea what are we going to do with it yet, but we definitely
 handle it in some way. It would be nice to deprecate it altogether, if
 possible.

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


More information about the wp-trac mailing list