[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
Mon Aug 7 23:43:55 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 changes-requested has-     |     Focuses:
  unit-tests needs-testing early php80           |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

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


Comment:

 Reviewed this ticket to determine if it is an incompatibility with PHP 8.0
 and should be listed in the known incompatibilities for WP 6.3.

 Findings: no, this is not an incompatibility issue with PHP 8.0 as the
 error (though lower than fatal) happens in < PHP 8.0. Therefore, the `php-
 compatibility` focus should not be added to the ticket.

 The `php80` keyword is due to the error severity as PHP 8.0 increased the
 error from Warning to Fatal.

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


More information about the wp-trac mailing list