Skip to content

Commit 5f9d573

Browse files
committed
Rename the action to editor.__unstableSavePost
1 parent 5e70054 commit 5f9d573

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/edit-post/src/store/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ export const initializeMetaBoxes =
566566

567567
// Save metaboxes on save completion, except for autosaves.
568568
addFilter(
569-
'editor.SavePost',
569+
'editor.__unstableSavePost',
570570
'core/edit-post/save-metaboxes',
571571
( previous, options ) =>
572572
previous.then( () => {

packages/editor/src/store/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export const savePost =
189189

190190
if ( ! error ) {
191191
await applyFilters(
192-
'editor.SavePost',
192+
'editor.__unstableSavePost',
193193
Promise.resolve(),
194194
options
195195
).catch( ( err ) => {

0 commit comments

Comments
 (0)