From e5b5db9e2349dfe8a43ac42bea5738146f53994d Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 9 Jan 2019 06:53:15 +0000 Subject: [PATCH] Block Editor: Obey the `AUTOSAVE_INTERVAL` constant. Props youknowriad. Fixes #45262. git-svn-id: https://develop.svn.wordpress.org/trunk@44504 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-form-blocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/edit-form-blocks.php b/src/wp-admin/edit-form-blocks.php index 44cfec14a8..25288564d4 100644 --- a/src/wp-admin/edit-form-blocks.php +++ b/src/wp-admin/edit-form-blocks.php @@ -273,7 +273,7 @@ $editor_settings = array( 'titlePlaceholder' => apply_filters( 'enter_title_here', __( 'Add title' ), $post ), 'bodyPlaceholder' => $body_placeholder, 'isRTL' => is_rtl(), - 'autosaveInterval' => 10, + 'autosaveInterval' => AUTOSAVE_INTERVAL, 'maxUploadFileSize' => $max_upload_size, 'allowedMimeTypes' => get_allowed_mime_types(), 'styles' => $styles,