[wp-trac] [WordPress Trac] #58986: TypeError: Unsupported operand types: string * int *

WordPress Trac noreply at wordpress.org
Wed Aug 9 16:56:40 UTC 2023


#58986: TypeError: Unsupported operand types: string * int *
--------------------------+------------------------------------------
 Reporter:  nurielmeni    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.4
Component:  Date/Time     |     Version:  6.2.2
 Severity:  critical      |  Resolution:
 Keywords:  needs-patch   |     Focuses:  rest-api, php-compatibility
--------------------------+------------------------------------------
Changes (by mhshohel):

 * Attachment "ticket-patch-58986.diff" added.

 Implemented a patch to perform a type cast on 'gmt_offset'. Additionally,
 incorporated a standard practice by introducing a default value of 0.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58986>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list