Skip to content

Commit

Permalink
Force delete menus
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Oct 29, 2021
1 parent 88b4ff9 commit 718c855
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export default function NavigationMenuDeleteControl( { onDelete } ) {
deleteEntityRecord(
'postType',
'wp_navigation',
id
id,
{ force: true }
);
onDelete();
} }
Expand Down

0 comments on commit 718c855

Please sign in to comment.