[wp-trac] [WordPress Trac] #57035: Error in current_time() function when using timestamp and no value for gmt_offset
WordPress Trac
noreply at wordpress.org
Tue Nov 8 13:46:27 UTC 2022
#57035: Error in current_time() function when using timestamp and no value for
gmt_offset
----------------------------+---------------------
Reporter: Nick_theGeek | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.2
Component: Date/Time | Version: 6.1
Severity: normal | Resolution:
Keywords: has-patch php8 | Focuses:
----------------------------+---------------------
Comment (by SergeyBiryukov):
Hi there, welcome back to WordPress Trac! Thanks for the report.
The change makes sense to me at a glance. The `(int)` casting was added in
[45856] / #40653. The suggest placement does look more correct.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57035#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list