1. Change label to Delete.
2. Edit a form with a user that can unpublish and delete as well.
3. The real delete button now redirects to node/[nid]/unpublish instead of node/[nid]/delete.
1. Change label to Delete.
2. Edit a form with a user that can unpublish and delete as well.
3. The real delete button now redirects to node/[nid]/unpublish instead of node/[nid]/delete.
Comments
Comment #1
amitaibuAfter clicking on the 'real' delete button I see in form_values that the clicked button has the wrong submit handler.