From f88769fc3b9e470e47ddd18f2e373204a6e89c53 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 9 Jan 2019 06:54:49 +0000 Subject: [PATCH] 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 --- wp-admin/edit-form-blocks.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit-form-blocks.php b/wp-admin/edit-form-blocks.php index 44cfec14a8..25288564d4 100644 --- a/wp-admin/edit-form-blocks.php +++ b/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, diff --git a/wp-includes/version.php b/wp-includes/version.php index a37a9dd227..c066529c38 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.