Changes between Initial Version and Version 2 of Ticket #59669
- Timestamp:
- 10/18/2023 07:28:26 PM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59669
- Property Keywords has-patch has-unit-tests added
-
Ticket #59669 – Description
initial v2 1 Both the `$pre_` and `$post_callback` functions that are given as arguments to `traverse_and_serialize_block(s)` receive a reference to the current block as its first argument. However, while any changes that the "pre" callback makes to the block are actually respected during serialization, the same isn't true for the "post" callback: Any changes that it makes are only applied after the block has already been serialized. For applications like #59412, we probably want to change that.1 Both the `$pre_` and `$post_callback` functions that are given as arguments to `traverse_and_serialize_block(s)` receive a reference to the current block as their first argument. However, while any changes that the "pre" callback makes to the block are actually respected during serialization, the same isn't true for the "post" callback: Any changes that it makes are only applied after the block has already been serialized. For applications like #59646, we probably want to change that.