Ticket #52995: 52995-edit-form-blocks.php.patch
File 52995-edit-form-blocks.php.patch, 584 bytes (added by , 4 years ago) |
---|
-
src/wp-admin/edit-form-blocks.php
346 346 'enableCustomSpacing' => $custom_spacing, 347 347 ); 348 348 349 $autosave = wp_get_post_autosave( $post _ID );349 $autosave = wp_get_post_autosave( $post->ID ); 350 350 if ( $autosave ) { 351 351 if ( mysql2date( 'U', $autosave->post_modified_gmt, false ) > mysql2date( 'U', $post->post_modified_gmt, false ) ) { 352 352 $editor_settings['autosave'] = array(