[wp-trac] [WordPress Trac] #56358: PHP8 TypeError on current_time( 'timestamp' ) if timezone is set to GMT / 0

WordPress Trac noreply at wordpress.org
Wed Aug 10 07:22:57 UTC 2022


#56358: PHP8 TypeError on current_time( 'timestamp' ) if timezone is set to GMT / 0
---------------------------+------------------------------
 Reporter:  toastercookie  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Date/Time      |     Version:  6.0
 Severity:  minor          |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by Rarst):

 Do you mean UTC? GMT is currently not an option in WordPress time zone
 settings and I can't reproduce it on PHP 8.1.

 I do not see how this error could happen with current version of the code.
 Which WordPress version are you on?

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


More information about the wp-trac mailing list