[wp-trac] [WordPress Trac] #59827: wp_save_post_revision() assumes ALL post meta is text! Fatal error in PHP 8.2.
WordPress Trac
noreply at wordpress.org
Fri Nov 17 16:34:42 UTC 2023
#59827: wp_save_post_revision() assumes ALL post meta is text! Fatal error in PHP
8.2.
-------------------------------------------------+-------------------------
Reporter: jsmoriss | Owner:
| adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting
| Review
Component: Revisions | Version: 6.3.2
Severity: normal | Resolution:
Keywords: reporter-feedback has-patch has- | Focuses: php-
unit-tests | compatibility
-------------------------------------------------+-------------------------
Comment (by adamsilverstein):
Note that although this issue has actually existed for a long time, it is
surfaced by the new support for post meta revisions in 6.4. Previous to
this release, fully supporting post meta revisions was a
[https://github.com/adamsilverstein/wp-post-meta-revisions/blob/main/wp-
post-meta-revisions.php bit complicated] although you could still
reproduce this issue.
Because this issue is severe (a PHP fatal) and surfaced by meta revisions
added in 6.4, I would be in favor of back porting the fix to 6.4.x
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59827#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list