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 Dec 19, 2022
1 parent 0b33ccf commit 4943da0
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 @@ -557,7 +557,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

1 comment on commit 4943da0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3729301622
📝 Reported issues:

Please sign in to comment.