diff --git a/packages/editor/src/components/post-actions/actions.js b/packages/editor/src/components/post-actions/actions.js index 1acb18d5173439..6c4c005c025411 100644 --- a/packages/editor/src/components/post-actions/actions.js +++ b/packages/editor/src/components/post-actions/actions.js @@ -254,7 +254,7 @@ const trashPostAction = { __( '"%s" moved to trash.' ), getItemTitle( items[ 0 ] ) ); - } else if ( items[ 0 ].type === 'page' ) { + } else { successMessage = sprintf( /* translators: The number of items. */ _n( @@ -264,12 +264,6 @@ const trashPostAction = { ), items.length ); - } else { - successMessage = sprintf( - /* translators: The number of posts. */ - __( '%s items move to trash.' ), - items.length - ); } createSuccessNotice( successMessage, { type: 'snackbar',