Changes between Initial Version and Version 1 of Ticket #58309, comment 2
- Timestamp:
- 05/14/2023 05:45:33 PM (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58309, comment 2
initial v1 5 5 6 6 Strangely, I couldn't find this line in that file or in any file in Core. Can you double-check this one? 7 8 That said, it doesn't seem safe to change. It should only pass if `$value` is an `object` but not an instance of `JsonSerializable`. Removing `is_object( $value )` would allow strings, ints, floats, arrays, etc. to pass. Though I haven't seen the source code in full yet. 7 9 8 10 > wp-includes/class-json.php, ~L.929