Changes between Version 2 and Version 3 of Ticket #56358, comment 1
- Timestamp:
- 08/10/2022 07:36:11 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56358, comment 1
v2 v3 1 1 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. 2 2 3 I do not see how this error could happen with current version of the `current_time()` code. 3 I do not see how this error could happen with current version of the `current_time()` code. Which WordPress version are you on? 4 4 5 5 I do see that option could return `"0"` there (for UTC+0 time zone). However, from quick check, multiplying that by an integer is a valid operation in PHP 8, it would type cast it to a number. https://3v4l.org/sGXiQ