Osmosio is the best place to learn the ins and outs of digital publishing, from ebooks to blogs and much more. The Osmosio blog is all about tips and tricks relating to the world of digital publishing. It's also home to the Digital Publishing Podcast.

Get My Awesome New WordPress Publish Confirmation Plugin!

November 3, 2010

Have you ever accidentally published a post before it was ready? Maybe you clicked “Publish” when you meant to click “Save”? And now this half-finished post is on your RSS feed and AAAARGGHGH!! It’s frustrating. It’s happened to me a few times, and it sucks. So I put together this simple FREE plugin.

Publish Confirmation is a plugin that serves one and only one purpose. When you press the “Publish” button, a little dialog box appears and says, “Are you SURE you want to publish this post?” You can either click OK (and your post will be published) or CANCEL (and your post post will not be published and you’ll return).

And that’s it! Wanna see a screenshot?

Here’s a screenshot:

publish-confirmation

And that’s all it does! See? What’d I tell ya! Pretty simple! (And yes, I realize that “OK” is not the correct answer for a yes/no question…)

And here’s a video (installation and overview):

Note: I didn’t craft the code for this plugin. I found it on a WordPress forum post here when I was searching for something similar. I tweaked the code a tiny bit and did everything to get it in the official WordPress database.

The plugin is simple and unobtrusive, so give it a test run and see how you like it!

Download the plugin from WordPress.org here.

{ 53 comments… read them below or add one }

Jay November 3, 2010 at 1:59 am

Downloading it now. It’s great to see that you identified a problem and instead of getting frustrated by it, you worked to develop a solution! I’ll be sure to tell you how it works out for me :)

Reply

Tristan November 3, 2010 at 10:42 pm

Great! Thanks, Jay!

Reply

Ed Washington November 3, 2010 at 2:28 am

Yeah I have definitely ran into a few issues with rss feeds and error ridden posts. Your WordPress plugin looks like a solid solution, appreciate it.

Reply

Tristan November 3, 2010 at 10:47 pm

Awesome, I hope it works well for you. Thanks for commenting!

Reply

Barbara Ling, Virtual Coach November 3, 2010 at 2:57 am

My challenge is NOT have to have Wordpress eat my post before I finish it! I have no idea why my auto-save makes sure to save things from 94 years ago instead of my last draft…so now I manually hit ‘SAVE ALREADY BLAST YE!’ every 4 minutes or so.

It helps. Really.

Reply

Tristan November 3, 2010 at 10:49 pm

Hahah, yeah I’ve definitely run into that problem before too, Barbara! Not fun!

Reply

Patricia@lavenderuses November 4, 2010 at 12:34 am

Hi Tristan

Thanks for letting us know about this. It is so good to know if I do hit publish before I really want to then I can now retrieve my post. Thanks for sharing.

Patricia Perth Australia

Reply

Tristan November 4, 2010 at 12:43 am

My pleasure! Thanks, Patricia!

Reply

Ileane November 4, 2010 at 4:17 am

Hey Tristan, You’re so talented. I’ll be sure to spread the word about this. Great job, thanks!

Reply

Udegbunam Chukwudi@Wordpress Blog Setup November 4, 2010 at 4:37 am

Nice plug-in though for folks like me that publish via Windows Live Writer, it wouldn’t come necessary. Cheers. Retweeted.

Reply

Tristan@Blogging Tips November 4, 2010 at 1:54 pm

Huh, I’ll have to look into Live Writer. Thanks for the retweet, Udegbunam!

Reply

Allan Douglas November 4, 2010 at 7:16 am

Ummm… nope; can’t say I’ve ever accitentally published anything.

((He’s SUCH a liar! Don’t believe that… he did it just yesterday! He NEEDS this plug-in!))

Reply

Tristan@Blogging Tips November 4, 2010 at 1:53 pm

Hahaha. Nice one, Allan! The last time I did it was last week, and then I figured there had to be a way to keep this from happening (but there wasn’t), so I made this plugin. Never again will it happen!

Reply

Kimi November 4, 2010 at 7:32 am

So far, this accidentally publishing a post has never happened to me, but yes, it can be a pain.

Thanks for the link and the video review Tristan.

I will definitely try.

Reply

Tristan@Blogging Tips November 4, 2010 at 1:48 pm

Really? Man… It’s happened to me probably… 10 times? You must be doing something right, then!

Reply

Gregory Elfrink November 4, 2010 at 2:36 pm

Really cool plugin. I’ve done this many a-times myself.

I am slowly getting more and more into the idea of writing the content outside of wordpress, then put it in there to just format and put the pictures in there haha.

Great post! :-)

To life,
-Gregory

Reply

Tristan@Blogging Tips November 4, 2010 at 4:47 pm

Gregory, I try to do the same, too (write mostly out of WP and then paste in), but I still always manage to screw things up…

Reply

Alex@sydney seo services November 4, 2010 at 4:44 pm

Tristan!

Brilliant man.

WIll contact you shortly because I want to chat with you further re: this
Impressed mate – very impressed.

Of course, being the perfectionist that I am, I never hit publish before a final check, but this plugin is still good to have, espeically if you have a million readers (iuf you have like 100 you can publish, go ‘shit’ quickly edit and noone notices LOL)

Check out the commentluv post – its awesome! ;)

PS: notice you have maxblogpress magnet, how you finding it? increase?

Reply

Tristan@Blogging Tips November 4, 2010 at 4:55 pm

It’s actually not MaxBlogPress, it’s called Qoate Newsletter Signup, and it’s FREE. I can’t really say if it’s increasing my opt-ins because I’ve had it installed pretty much since the beginning. I can say, though, that the majority of my opt-ins (probably around 2/3) come from my Popup Domination thing. I think the rest are split between my sidebar and the comments check box.

Reply

Yvonne A Jones @SEO Tips and Tricks November 4, 2010 at 9:11 pm

Hi Tristan,
My first visit to your blog and I like it already! This has happened to me so many times. Often it’s when I want to Save so I can do a preview and it’s published. What I started doing was to put the title in last as I believe it will not publish without a title. This plug-in will be soooo much better! Thank you for discovering it and tweaking for the rest of us. I’ll be downloading it and give you a feedback.

Yvonne

Reply

Tristan@Blogging Tips November 4, 2010 at 9:41 pm

After reading your comment, Yvonne, I wondered if a post WOULD publish without a title. I just tried it on my dummy blog. It posted! All the more reason to download the plugin, right? :) Thanks for the comment!

Reply

Melanie Kissell November 4, 2010 at 11:27 pm

Since you were kind enough to leave your mark on my blog, Tristan, I just had to stroll on over here and give your blog a look-see. :)

Blogging Bookshelf is pretty darn cool. I like your commenting policy and I can’t wait to read your freebie – don’t want to be planning my blog’s funeral any time soon!

Thanks for the safety valve plugin,
Melanie

Reply

Tristan@Blogging Tips November 5, 2010 at 6:56 pm

Thank you for commenting, Melanie, and thanks for the complement!

Reply

Keith Davis April 22, 2012 at 5:44 am

Hi Mel
Just adding Tristan’s plugin to my sites – I can stop living in fear of hitting that big blue button by mistake.

Reply

Michael Pedzotti@software tools for blogging November 5, 2010 at 8:43 am

Tristan,

Hey, it’s good to meet a fellow plug-in author. I just d/l it and checked the code. Damn simple! Well done. I love simple.

If you get a chance, check out my free plug-in Spicy Blogroll at http://wordpress.org/extend/plugins/spicy-blogroll/ . It is a little more complicated but, like yours, based on a simple idea someone else published (under GPL2) and I added a few tweaks, enhancements and a whole new admin settings page that has to be seen to be believed – well I think so anyway.

I see you do not have a blogroll published on your site. Maybe after you see this little baby in action it might change your mind. But then, when has a piece of code changed anyone’s mind :-) ?

I need to write a post on the value of publishing a blogroll I think…

Cheers, Michael.

Reply

Tristan@Blogging Tips November 5, 2010 at 6:50 pm

Thanks for the complement, Michael! I’m not gonna lie, I really don’t see a whole lot of value in blogrolls. Please, enlighten me! I’ll be sure to check out your plugin. I appreciate you commenting!

Reply

Rick Byrd @ MarketingWithRick.com November 5, 2010 at 12:51 pm

Hey Tristan:

I just downloaded the plugin and I will install it and give it a go tonight.

This seems like it will save many bloggers the embarrassment of publishing their post before it is actually finished.
It’s so simple bu so effective.

Great job!

- Rick

Reply

Tristan@Blogging Tips November 5, 2010 at 6:40 pm

Thanks, Rick! Be sure to let me know how it goes (and rate the plugin at WordPress.org, too!).

Reply

Tony @ Technology News November 7, 2010 at 9:44 am

Great plugin, but may I ask a question ? Why we need this ?

Reply

Tristan@Blogging Tips November 7, 2010 at 10:48 pm

Hmmm… I think one of two things is happening here: 1) You didn’t read the post, or 2) This is a spam comment.

Reply

Tony @ Technology News November 8, 2010 at 3:53 am

I already reading the post but I think when you writing it, you must to focus on it, after finish, then publish.

I always writing article with wordpad and just copy it to wordpress and public when it ready.

Reply

Tristan@Blogging Tips November 8, 2010 at 11:19 am

Sorry for the misunderstanding, then! Writing it in Wordpad is a great idea, Tony. But I know a lot of people don’t do this, so that’s where I think people would find this plugin useful. Thanks for commenting, Tony!

Reply

Estava Morioka November 9, 2010 at 11:41 am

Hi Tristan! Ok now I don’t feel so bad because I thought it was a just a newbie mistake when I did this the other day. This is a cool plugin that I’m going to try out asap. Thank you!

Reply

Tristan November 11, 2010 at 3:01 am

Yeah, it happens! Thanks for downloading and leaving a comment!

Reply

Extreme John November 15, 2010 at 1:33 pm

This is a great quick fix to a pretty annoying problem, I literally just did this with a post on Saturday night. To say that I was slightly irritated doesn’t put it into perspective.

Reply

Tristan@Blogging Tips November 15, 2010 at 5:31 pm

Good, I’m glad I’m not the only one that does this! Be sure to rate the plugin at WordPress.org!

Reply

Adam November 16, 2010 at 4:59 pm

What a handy tool Tristan:) I am going to download it now. Finally no more unfinished articles posted, Wheey!:)

Thanks

Reply

Tristan@Blogging Tips November 16, 2010 at 5:57 pm

Exactly! This has happened to me several times before and I always feel like an idiot when it happens. Glad you find it useful, too!

Reply

Morgan Fisher November 25, 2010 at 6:49 pm

Just downloaded this great plugin, haven’t even tried it yet but want to say thanks for handling this oh-so-human mistake! My new (and it’s my first) WP blog is going great but in just 5 posts I have already prematurely published 2, by a too-quick hit on the button. And it really is instant – when I knew my mistake (within maybe 0.5 seconds!) I quit Safari at once but it was already too late.
Shame on WP for not making this a standard feature!

Reply

Sandeep January 2, 2011 at 12:23 am

Damn this is good plugin, sometime my mistake i click publish button instead of draft or preview button. Thanks mate

Reply

Tech Automatic February 15, 2011 at 2:58 am

thanks

Reply

Janet @ The Natural Networker February 18, 2011 at 5:19 pm

Tristan, aloha. Saw this when you posted it and now that I am moving to WP will definitely use it. Thx so much. Wasn’t that a great idea of Dino’s re neglected or underappreciated posts?

Enjoy a wonderful weekend. Aloha. Janet

Reply

Richard February 25, 2011 at 5:04 am

Simple, but a really useful plug in.
It always seems a bit of a flaw on behalf of wordpress that “preview” and “publish” are next to each other and look more or less the same!

Reply

Ana @ best autoresponders April 12, 2011 at 7:32 am

I’ve done that once or twice…. Also scheduled more than one post per day by accident of course.

Thanks for the tip, Tristan!

Ana

Reply

Ivin April 29, 2011 at 7:45 am

this is a very good plugin. They should have a plugin like that for some people leaving dumb or offensive comments. *Submit* – ‘Are you sure you wanna say that?’ would be effective. Like I write an email, keep it in the outbox, and then after I cooled down, I edit and post it then.

Good idea?

Reply

Elmar Sandyck April 30, 2011 at 5:44 am

Hi Tristan!

Simple but great plug-in! Thanks for sharing it with us.

Reply

Mike Reeves-McMillan September 1, 2011 at 2:06 pm

I published a post that I was preparing as a guest post the other day, by mistake. So this looked like a good idea.

Unfortunately, it doesn’t just pop up when I click the actual “Publish” button but also when I update existing posts. Result: I get used to clicking “OK” without thinking – and I’m back where I started, but with an extra step every time I save a post. So I deactivated it.

I realise that it may not be possible to make it active only on first-time publish, but if you could, I’d reactivate the plugin.

Reply

Mike Reeves-McMillan November 13, 2011 at 5:28 pm

I figured out the solution to this myself. All you need to do is test for the name of the button:

if (publish !== null && publish.value == “Publish”) …

Works like a charm, and now does what I was looking for without being annoying when I’m updating.

Please feel free to use this.

Reply

Technology News November 9, 2011 at 6:34 am

Thank for sharing it :)

Reply

Joy March 10, 2012 at 10:36 am

Hi Tristan, can you tell me if Publish Confirmation runs well on WordPress 3.3.1? Thanks

Reply

Tristan March 10, 2012 at 10:39 am

Sure does. I’m running it on all of my WordPress blogs, all of which have been updated to 3.3.1.

Reply

Joy March 10, 2012 at 11:23 am

Thanks! Will try it out.

Reply

Keith Davis April 22, 2012 at 5:32 am

Great idea Tristan.
Only hit that big blue Publish button by mistake a few times, but it is so annoying when you do.

This function should be built in to WordPress.

Thanks for taking the time to give us all a solution.

Reply

Leave a Comment


six × = 12

{ 4 trackbacks }

Previous post:

Next post: