[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
Sun Aug 27 18:40:31 UTC 2023


#57035: Error in current_time() function when using timestamp and no value for
gmt_offset
-------------------------------------------------+-------------------------
 Reporter:  Nick_theGeek                         |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.4
Component:  Date/Time                            |     Version:  5.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing php80                                  |
-------------------------------------------------+-------------------------
Changes (by rleeson):

 * keywords:  has-patch changes-requested has-unit-tests needs-testing php80
     => has-patch has-unit-tests needs-testing php80


Comment:

 This [https://github.com/WordPress/wordpress-develop/pull/5094 PR #5094]
 addresses this and other instances in Core where the `gmt_offset` option
 is used. I submitted the PR and resolution primarily against
 [https://core.trac.wordpress.org/ticket/58986 Ticket #58986].

 I'm unsure how to appropriately tag and notate this?

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


More information about the wp-trac mailing list