From 830664fffbfcd83fb7fc3eed75e545d415429f98 Mon Sep 17 00:00:00 2001 From: Jarda Snajdr Date: Mon, 5 Aug 2024 13:21:18 +0200 Subject: [PATCH] Use lowercase names --- packages/editor/src/store/actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor/src/store/actions.js b/packages/editor/src/store/actions.js index a3c2283b831b9..031004db2eeb8 100644 --- a/packages/editor/src/store/actions.js +++ b/packages/editor/src/store/actions.js @@ -200,7 +200,7 @@ export const savePost = let error = false; try { edits = await applyFilters( - 'editor.PreSavePost', + 'editor.preSavePost', Promise.resolve( edits ), options ); @@ -252,7 +252,7 @@ export const savePost = if ( ! error ) { try { await applyFilters( - 'editor.SavePost', + 'editor.savePost', Promise.resolve(), options );