[ad_1]
Replies: 1
i don’t know why when i see the site as user with author role get_delete_post_link() shows me a working link nonce to delete
like
/wp-admin/post.php?post=2040&action=trash&_wpnonce=28281ea73cBut when he logs in with his account he sees:
/?post_type=translations&p=2040So the links are different when they should be the same.
I edited the author capabilities an enabled “delete_posts”.
Is there anything else i have to give them to be able to delete drafts? (post is a draft) i thought delete_posts was it?
Thanks!
