[wp-trac] [WordPress Trac] #40657: Deprecate current_time( 'timestamp' )
WordPress Trac
noreply at wordpress.org
Tue Aug 27 21:55:10 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: has-patch | Focuses:
-------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"45900" 45900]:
{{{
#!CommitTicketReference repository="" revision="45900"
Date/Time: Remove the last remaining `current_time( 'timestamp' )`
instance in `wp_post_revision_title_expanded()`.
Timestamps don't carry any timezone information, using
`$revision->post_modified_gmt` simplifies the logic.
Props Rarst.
See #40657.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40657#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list