[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 02:29:55 UTC 2025


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

Comment (by westonruter):

 Note:

 If anyone is experiencing this issue, a workaround is simply to add this
 code to prevent WP from checking for changes when a new revision is being
 saved:

 {{{#!php
 <?php
 if ( version_compare( get_bloginfo( 'version' ), '7.0', '<' ) ) {
         add_filter( 'wp_save_post_revision_check_for_changes',
 '__return_false' );
 }
 }}}

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


More information about the wp-trac mailing list