Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is it possible to have a post not deleted from the MySQL database on deleting from the wp-admin panel ?

share|improve this question
    
You may be interested in this: wordpress.stackexchange.com/q/74488/12615 –  brasofilo Dec 8 '12 at 17:55
add comment

1 Answer 1

up vote 1 down vote accepted

By default wordpress do not delete posts but rather moves them to the trash. They do not appear in the normal posts admin, but you can still see them in the trash and recover them from it.

share|improve this answer
    
But what if someone deletes it from the trash in wp-admin ? Is there a way to get this from MySQL database ? –  EPQRS Dec 8 '12 at 13:29
    
Not unless you have a backup for the DB, and even then It might not be trivial to restore the post if new posts where published since then. –  Mark Kaplun Dec 8 '12 at 13:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.