Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trash post instead of delete #4

Closed
gwin opened this issue Oct 8, 2016 · 0 comments
Closed

Trash post instead of delete #4

gwin opened this issue Oct 8, 2016 · 0 comments
Milestone

Comments

@gwin
Copy link
Contributor

gwin commented Oct 8, 2016

When the user deletes the post it would be great if it is trashed instead of deleted.

It’s done by this code on line 337 in the file /wpadverts/includes/ajax.php
wp_trash_post( $id, true );

Maybe even better if it’s possible to make it a choice for the admin to either delete or trash?

@gwin gwin added this to the 1.0.11 milestone Oct 8, 2016
@gwin gwin closed this as completed Oct 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant