[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
Tue Nov 7 17:37:39 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:                |     Focuses:  php-compatibility
--------------------------+--------------------------------

Comment (by jsmoriss):

 As a plugin author, I can tell you that using 'revisions_enabled' => true
 to save/rollback post settings changes (ie. settings which are an array)
 in post meta is already scheduled for WP 6.4.

 js.

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


More information about the wp-trac mailing list