Categories: WordPress
*** NOTE: ALL INFORMATION IS ACCURATE AT DATE OF PUBLISHING ***
DISCLOSURE: THIS POST MAY CONTAIN AFFILIATE LINKS. FULL DETAILS HERE

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:

function remove_dashboard_widgets() {
    global $wp_meta_boxes;
    unset($wp_meta_boxes[‘dashboard’][‘side’][‘core’][‘dashboard_quick_press’]);
}
add_action(‘wp_dashboard_setup’, ‘remove_dashboard_widgets’ );

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:
The Upgrade Process From Forms Pro To Customer Voice


DISCLOSURE: THIS POST MAY CONTAIN AFFILIATE LINKS. FULL DETAILS HERE
This is just 1 of 239 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.


4 thoughts on “Auto Draft Posts Getting Created Automatically

  1. Any idea why this happens? It went on for me for a long time before finding this solution. None of my other sites have experienced this.

    1. Hi Bill, no, never found out for sure, just that it seemed to be related to the Quick Press widget. I’ve never seen it again, nor have I seen it in any other sites either. It was strange and annoying! Glad it helped you.

Leave a Reply

Your email address will not be published. Required fields are marked *