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:
parent
2a6e44a306
commit
e5b5db9e23
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue