Title: Database (PhpMyAdmin) empty trash post
Last modified: March 1, 2024

---

# Database (PhpMyAdmin) empty trash post

 *  Resolved [Robye](https://wordpress.org/support/users/robye/)
 * (@robye)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-phpmyadmin-empty-trash-post/)
 * I’ve noticed that using **additional CSS**, this is saved all on databases. 
   
   However, i have seen that even by deleting it, in the database, on PhpMyAdmin,
   all that data remains, rows labeled as **post_status** = **Trash**. No longer
   being a utility , doesn’t the database have an automatic function that, like 
   trash, permanently deletes these files, for example, after 30 days?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-phpmyadmin-empty-trash-post/#post-17467336)
 * The default value for deleting entries in Trash is set to 30 days. However, it
   can also be changed and the function can also be switched off. See: [https://codex.wordpress.org/Trash_status](https://codex.wordpress.org/Trash_status)
 *  Thread Starter [Robye](https://wordpress.org/support/users/robye/)
 * (@robye)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-phpmyadmin-empty-trash-post/#post-17468808)
 * > [threadi](https://wordpress.org/support/users/threadi/) (@threadi)
   > [20 hours, 23 minutes ago](https://wordpress.org/support/topic/database-phpmyadmin-empty-trash-post/#post-17467336)
   > The default value for deleting entries in Trash is set to 30 days. However,
   > it can also be changed and the function can also be switched off. See: [https://codex.wordpress.org/Trash_status](https://codex.wordpress.org/Trash_status)
 * Thanks a lot 👍
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-phpmyadmin-empty-trash-post/#post-17468910)
 * Nice if I could help. You are welcome to set the topic to solved.
 *  Thread Starter [Robye](https://wordpress.org/support/users/robye/)
 * (@robye)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-phpmyadmin-empty-trash-post/#post-17469599)
 * Sorry, I thanked you too quickly 😀
 * I didn’t understand if you’re talking about the WordPress trash can or the MySQL
   database trash can
   Or maybe we’re talking about the same thing, just that on 
   WP 6.4.3. i can’t find trace of the trash can.
 * And on the database, on PhpMyAdmin there is no information about the permanent
   deletion of trash files after 30 days
 * I’m talking about **additional CSS**, **which is saved in the post database tables,
   not articles**
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-phpmyadmin-empty-trash-post/#post-17469619)
 * MySQL has no trash can. What has been deleted is deleted. It may be possible 
   to add this as a module in some database systems, but I am not aware of this 
   and it has nothing to do with WordPress.
 * The function I mentioned above is within WordPress, controlled by WordPress. 
   You won’t find anything about this in MySQL. Only data records are stored there,
   but no functions.
 * Additional CSS is a single input field in the Customiser of classic WordPress
   themes. Its data is stored in the posts table in the same way as posts or pages
   and is therefore subject to the same rules that I described above for automatic.
   However, you cannot move Additional CSS to the trash. The data record is either
   published or does not exist. It has no other status. If you empty the field for
   Additional CSS, the corresponding data record will also be deleted – without 
   any trash.
 *  Thread Starter [Robye](https://wordpress.org/support/users/robye/)
 * (@robye)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-phpmyadmin-empty-trash-post/#post-17469666)
 * > [threadi](https://wordpress.org/support/users/threadi/) (@threadi)
   > [18 minutes ago](https://wordpress.org/support/topic/database-phpmyadmin-empty-trash-post/#post-17469619)
   > … If you empty the field for Additional CSS, the corresponding data record 
   > will also be deleted – without any trash.
 * precisely with regard to this last point. 
   i was afraid because doing various
   tests, after deleting all the Additional CSS on WordPress and saving everything,
   on the database the post records containing that Additional CSS were still visible.
   I was afraid that those records would not be deleted and would remain to occupy
   space and database resources. But maybe it’s a matter of cache and delay in updating
   the database.. I’ll have to do some more tests to see if in fact they are permanently
   deleted once they are removed on WordPressthanks aniway
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/database-phpmyadmin-empty-trash-post/#post-17469673)
 * If the data record does not disappear for you, this may also be due to a theme
   or plugin you are using. These could influence the behaviour. I tested it earlier
   with a standard WordPress theme and without any plugins as described.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Database (PhpMyAdmin) empty trash post’ is closed to new replies.

## Tags

 * [additional css](https://wordpress.org/support/topic-tag/additional-css/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 7 replies
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/database-phpmyadmin-empty-trash-post/#post-17469673)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
