[wp-trac] [WordPress Trac] #64314: Fatal error when enabling revisions for post meta of type array/object

WordPress Trac noreply at wordpress.org
Fri Dec 12 05:06:32 UTC 2025


#64314: Fatal error when enabling revisions for post meta of type array/object
----------------------------+--------------------------------
 Reporter:  LAPSrj          |       Owner:  westonruter
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  7.0
Component:  Revisions       |     Version:  6.4
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch php8  |     Focuses:  php-compatibility
----------------------------+--------------------------------
Changes (by westonruter):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61372" 61372]:
 {{{
 #!CommitTicketReference repository="" revision="61372"
 Revisions: Prevent fatal error in PHP 8+ when saving a post revision with
 revisioned non-scalar post meta.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10560

 Follow-up to [56714].

 Props LAPSrj, manhphucofficial, westonruter.
 See #20299.
 Fixes #64314.
 }}}

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


More information about the wp-trac mailing list