[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:19: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 needs-   |     Focuses:  php-
  unit-tests                                     |  compatibility
-------------------------------------------------+-------------------------
Changes (by adamsilverstein):

 * keywords:  reporter-feedback has-patch has-unit-tests => reporter-
     feedback has-patch needs-unit-tests


Comment:

 I added a test for this that triggers the fatal in
 https://github.com/WordPress/wordpress-develop/pull/5680

 Adding the code fix next based on the existing PR with a slightly
 different approach.

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


More information about the wp-trac mailing list