*** NOTE: ALL INFORMATION IS ACCURATE AT DATE OF PUBLISHING ***
I’ve used WordPress for almost 10 years, and recently experienced an issue I have never seen before. Auto Draft posts kept appearing in my list of posts. They were in draft status so didn’t show up on my blog from the front end, but the most frustrating part was that they couldn’t be deleted from within the WordPress Admin area.
No way to delete them!
It was driving me up the wall. I could have as many as 5 or 6 showing up. The only way I could delete them was by logging in to PHPMyAdmin, then doing a simple SQL query to find any posts where the post_title was Auto Draft. Then, selecting all posts and deleting them from the database.
I started looking at the plugins I had installed. Each day I deactivated one, or removed it when it wasn’t necessary for my site. Each day I would check back and sure enough, another pesky Auto Draft post had appeared. I found a post here that had one sentence right near the bottom of the forum that stated: You should disable the Quick press widget on the admin page, because that creates a new auto-draft whenever you load it.
Stop the Auto Draft Posts
I didn’t have Quick press widget showing, BUT it did point me in the right direction to check the admin page. I figured out that the new Auto Draft posts were created every single time I went to the WordPress Dashboard. So, searching some more, I found this post from the awesome WP Beginner blog that showed how you could disable Dashboard widgets. Using the code they provided, I added it to the functions.php file. Bingo…. the posts stopped being created! Phew!
I edited the original code to only disable the quick press widget:
So, sanity restored! Hopefully this helps someone else who might be in the same boat. Wish I knew why it started in the first place, but some things you just need to move on from. Back to activating my plugins again!
Check out the latest post:
Part 1 -Setting Up Google Analytics On Your Website
This is just 1 of 202 articles. You can browse through all of them by going to the main blog page, or navigate through different categories to find more content you are interested in. You can also subscribe and get new blog posts emailed to you directly.