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
This commit is contained in:
Gary Pendergast 2019-01-09 06:53:15 +00:00
parent 2a6e44a306
commit e5b5db9e23

View File

@ -273,7 +273,7 @@ $editor_settings = array(
'titlePlaceholder' => apply_filters( 'enter_title_here', __( 'Add title' ), $post ), 'titlePlaceholder' => apply_filters( 'enter_title_here', __( 'Add title' ), $post ),
'bodyPlaceholder' => $body_placeholder, 'bodyPlaceholder' => $body_placeholder,
'isRTL' => is_rtl(), 'isRTL' => is_rtl(),
'autosaveInterval' => 10, 'autosaveInterval' => AUTOSAVE_INTERVAL,
'maxUploadFileSize' => $max_upload_size, 'maxUploadFileSize' => $max_upload_size,
'allowedMimeTypes' => get_allowed_mime_types(), 'allowedMimeTypes' => get_allowed_mime_types(),
'styles' => $styles, 'styles' => $styles,