[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 15:37:38 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 | Focuses: php-compatibility
-----------------------------------------+--------------------------------
Comment (by adamsilverstein):
I was able to reproduce the bug using the test plugin. It wasn't obvious
how to reproduce, so I am giving the steps here:
1. Create a new **page**
2. add some content, save post
3. make some changes, update the (draft) post
4. visit the revisions screen then return to editor (or maybe just
reload?)
5. make a change and try publishing the post
Publishing will fail with the Fatal noted in the ticket description.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59827#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list