Changes between Initial Version and Version 2 of Ticket #52738
- Timestamp:
- 09/29/2022 03:01:31 PM (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52738
- Property Keywords needs-patch needs-unit-tests added
-
Property
Milestone
changed from
Awaiting Review
to6.2
-
Property
Component
changed from
General
toPosts, Post Types
-
Property
Summary
changed from
Use of get_object_vars does not handle null byte
toUse of get_object_vars() in sanitize_post() and WP_Post constructor does not handle null byte
-
Ticket #52738 – Description
initial v2 1 1 In places where get_object_vars is used to loop over an objects properties and then trying to access them null bytes are not handled. 2 2 3 There is an old bug-report (from me) for map_deep https://core.trac.wordpress.org/ticket/47164 but now we are experience this in other places too; in sanitize_post and in the constructor of class-wp-post.3 There is an old bug-report (from me) for map_deep #47164 but now we are experience this in other places too; in sanitize_post and in the constructor of class-wp-post. 4 4 5 5 This is totally destroying our business and I don't know what to do. Since I reported the issue for map_deep I have had to manually patch formatting.php every time there is a WordPress update. But now, trying to handle all the places get_object_vars is used in hopeless.