HTML API: Prevent class serialization#6852
Closed
sirreal wants to merge 2 commits intoWordPress:trunkfrom
Closed
Conversation
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
dmsnell
approved these changes
Jun 18, 2024
…lass-serialization
pento
pushed a commit
that referenced
this pull request
Jun 18, 2024
This class accepts a Closure, but it should not be possible to wake up with one from a serialized class instance. Developed in #6852 Discussed in https://core.trac.wordpress.org/ticket/61348 Props jonsurrell. See #61348. Follow-up to [58304]. git-svn-id: https://develop.svn.wordpress.org/trunk@58441 602fd350-edb4-49c9-b593-d223f7449a82
Member
markjaquith
pushed a commit
to markjaquith/WordPress
that referenced
this pull request
Jun 18, 2024
This class accepts a Closure, but it should not be possible to wake up with one from a serialized class instance. Developed in WordPress/wordpress-develop#6852 Discussed in https://core.trac.wordpress.org/ticket/61348 Props jonsurrell. See #61348. Follow-up to [58304]. Built from https://develop.svn.wordpress.org/trunk@58441 git-svn-id: http://core.svn.wordpress.org/trunk@57890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
github-actions bot
pushed a commit
to gilzow/wordpress-performance
that referenced
this pull request
Jun 18, 2024
This class accepts a Closure, but it should not be possible to wake up with one from a serialized class instance. Developed in WordPress/wordpress-develop#6852 Discussed in https://core.trac.wordpress.org/ticket/61348 Props jonsurrell. See #61348. Follow-up to [58304]. Built from https://develop.svn.wordpress.org/trunk@58441 git-svn-id: https://core.svn.wordpress.org/trunk@57890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trac ticket:
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.