Changes between Initial Version and Version 1 of Ticket #59827, comment 16
- Timestamp:
- 11/09/2023 05:50:30 PM (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59827, comment 16
initial v1 5 5 The "'_wp_post_revision_field_' . meta_key" filter is only used for the diff shown to users on the revision page. 6 6 7 The problem is the compare done in wp_save_post_revision()(see https://github.com/WordPress/wordpress-develop/blob/6.3/src/wp-includes/revision.php#L109) which WordPress uses to determine if a revision needs to be saved - it assumes that all post meta are strings.7 The problem is the compare done in `wp_save_post_revision()` (see https://github.com/WordPress/wordpress-develop/blob/6.3/src/wp-includes/revision.php#L109) which WordPress uses to determine if a revision needs to be saved - it assumes that all post meta are strings. 8 8 9 9 > ps. it would be good to add a test here to validate any fix we come up with.