Changes between Initial Version and Version 1 of Ticket #58986
- Timestamp:
- 08/05/2023 07:05:33 PM (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58986
- Property Keywords needs-patch added
- Property Focuses rest-api added
-
Property
Component
changed from
REST API
toDate/Time
-
Ticket #58986 – Description
initial v1 1 Path: /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php2 File: class-wp-rest-posts-controller.php1 Path: `/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php` 2 File: `class-wp-rest-posts-controller.php` 3 3 Line: 1833 4 4 5 **Expression Error: get_option('gmt_offset') * HOUR_IN_SECONDS6 **Rais Exception: TypeError: Unsupported operand types: string * int5 **Expression Error:** `get_option('gmt_offset') * HOUR_IN_SECONDS` 6 **Rais Exception:** `TypeError: Unsupported operand types: string * int` 7 7 8 8 9 Suggested Fix: intval(get_option('gmt_offset')) * HOUR_IN_SECONDS9 Suggested Fix: `intval(get_option('gmt_offset')) * HOUR_IN_SECONDS` 10 10 11 11 Thanks