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

WordPress Trac noreply at wordpress.org
Mon May 27 16:04:31 UTC 2019


#40657: Deprecate current_time( 'timestamp' )
-------------------------+-----------------------------
 Reporter:  jdgrimes     |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  5.3
Component:  Date/Time    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------
Changes (by Rarst):

 * keywords:  has-patch => needs-patch


Comment:

 I've looked through remaining uses (5 or so) and I can (probably) clean
 them up once I get `wp_timezone()` merged.

 Though some of them are _very_ ambiguous, like getting timezone-less event
 date/time from API or fuzzy before/after in date queries.

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


More information about the wp-trac mailing list