Skip to content

Commit

Permalink
Restore trashing as a primary action
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster authored and ntsekouras committed Mar 11, 2024
1 parent 907e48b commit e79172e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/edit-site/src/components/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ const { useHistory } = unlock( routerPrivateApis );
export const trashPostAction = {
id: 'move-to-trash',
label: __( 'Move to Trash' ),
isPrimary: true,
icon: trash,
isEligible( { status } ) {
return status !== 'trash';
},
Expand Down

0 comments on commit e79172e

Please sign in to comment.