Block Editor: Obey the `AUTOSAVE_INTERVAL` constant.
Props youknowriad. Fixes #45262. Built from https://develop.svn.wordpress.org/trunk@44504 git-svn-id: http://core.svn.wordpress.org/trunk@44335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
68f2d8f0af
commit
f88769fc3b
|
@ -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,
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-alpha-44503';
|
||||
$wp_version = '5.1-alpha-44504';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue