Skip to content

Commit

Permalink
Rename the action to editor.__unstableSavePost
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Oct 21, 2022
1 parent b84f100 commit f2c7b36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/edit-post/src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ export const initializeMetaBoxes =

// Save metaboxes on save completion, except for autosaves.
addFilter(
'editor.SavePost',
'editor.__unstableSavePost',
'core/edit-post/save-metaboxes',
( previous, options ) =>
previous.then( () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const savePost =

if ( ! error ) {
await applyFilters(
'editor.SavePost',
'editor.__unstableSavePost',
Promise.resolve(),
options
).catch( ( err ) => {
Expand Down

0 comments on commit f2c7b36

Please sign in to comment.