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

WordPress Trac noreply at wordpress.org
Mon Mar 12 15:13:40 UTC 2018


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

Comment (by Rarst):

 Problem is some function ''expect'' this "WordPress timestamp" as input,
 notably `date_i18n()`. It cannot be dropped without major Date/Time
 component rewrite.

 This is the main problem with current state of the component, it just
 cannot be fixed in piecemeal fashion. ''Everything'' from storage, to
 computation, to output needs be replaced together since it's all linked
 and fuses functionality and bugs together.

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


More information about the wp-trac mailing list