[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
Thu Nov 9 14:48:22 UTC 2023


#59827: wp_save_post_revision() assumes ALL post meta is text! Fatal error in PHP
8.2.
-------------------------------+--------------------------------
 Reporter:  jsmoriss           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Revisions          |     Version:  6.3.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  php-compatibility
-------------------------------+--------------------------------

Comment (by jsmoriss):

 Replying to [comment:11 jorbin]:

 > Do you have a minimal code example that can be used to replicate the
 issue? Ideally something small that can be installed as an mu-plugin or an
 automated test.

 Here you go:

 https://github.com/jsmoriss/jsm-test-revision-array/blob/main/jsm-test-
 revision-array.php

 js.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59827#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list