WordPress Plugin: Are You Sure?
Sunday, February 22nd, 2009
Today we are releasing a new and very simple WordPress plugin we think you will all enjoy. The plugin is named Are You Sure? and it was created to prevent any accidental postings. If you have used WordPress for any amount of time, I am sure you have accidentally pressed the 'Publish' button before you were ready to publish. Sure, you can go back and change it, but chances are your RSS readers and anyone browsing the site already have seen it. Are You Sure? uses some simple Javascript when the Publish button is clicked and confirms that you do indeed wish to publish the current content. Read on to download and for instructions.
Features
Upon clicking the 'Publish' or 'Update post/page' button, a simple Javascript box confirms that you wish to publish the current content. You may cancel the publishing and go back and continue editing.
- Extremely small file size, less than 1.7 KB total.
- Simple to use, just activate and your done.
- Saves you from accidental posting.
- Works on any 'Publish' button, including pages, posts, and quickpress.
- Tested and Compatible with WordPress 2.7+
Screenshot

Installation and Usage
If you have never used a WordPress Plugin, you may consider reading the introduction to plugins on the WordPress Codex.
- Upload the 'areyousure' folder to 'wp-content/plugins/' directory on your server.
- Go to the plugins link in the WordPress sidebar in your WordPress admin panel.
- Find the plugin and click activate.
- Your done!
Download
WP Version:Tested and working up to WP 2.9+
Current Version: 1.0
Download: Are You Sure? (1045) - 1.67 KB
GitHub URL: http://github.com/DrewDouglass/Are-You-Sure-
GitHub Clone: git://github.com/DrewDouglass/Are-You-Sure-.git
Buy Me Some Chinese Food?
If you enjoy this plugin and have found it helpful, I encourage you to consider making a donation of any amount. Donations keep me motivated and help cover a tiny percent of the time and costs that go into developing plugins for the WordPress Community
Feedback and Requests
We'd love to hear any feedback or requests you might have, let us know in the comments below! If you need support you can shoot us an email via our contact page. If you enjoy WordPress and WordPress plugins, you might also enjoy our article titled 'Use the twitter API to create a wordpress plugin'.
If you enjoyed this article, you might consider subscribing to our rss feed to stay updated with all the latest tips and articles!
Article Sponsored by:
Expert guidance on designing a great theme for one of the most popular, open-source blog systems available for the Web today! This book can be used by WordPress users or visual designers (with no server-side scripting or programming experience) who are used to working with the common industry-standard tools like PhotoShop and Dreamweaver or other popular graphic, HTML, and text editors. Regardless of your web development skill-set or level, you'll be walked through the clear, step-by-step instructions, but familiarity with a broad range of web development skills and WordPress know-how will allow you to gain maximum benefit from this book.
24 Comments
subscribe comments feedTrackbacks/Pingbacks
- Are You Sure ? - Plugin Wordpress de validation de publication | Sylvain Drapau
- 31 Wordpress Plugins To Enhance Your Blog and Life | The Daily Anchor | Marketing and Advertising Blog
- WordPressでサイト構築の手順 | 君のてのひらから
- Solution for the "Wordpress Accidental Publish" Problem | eJabs
- Use the Twitter and TinyURL APIs to Create a WordPress Plugin | Dev Tips | Become a Better Developer, One Tip at a Time.
- 10 Wordpress Plugins That You Should/Must Install
- 10 Must Have Wordpress Plugins | Karan Goel - The Complete How To Guide
- 30 Plugins That Can Change Your Wordpress | Sahil Kotak dot Com
- uberVU - social comments
- Wordpress Plugins – Are You Sure Plugin | CoreBloggers
- 10 very useful WordPress plugins collection








This might come in handy, thanks.
This is a good plugin, some people tend to forget to proof read, or just let a word slip & notice it to later. This is going to come in handy for most.
This is nice! Many o’ times I’ve accidentally pushed that button too early :{
Thanks all for the comments so far. Please do let me know if you have any suggestions or encounter any difficulties at all
Great plugin, thought wordpress would add this feature in their latest update…thanks :0)
I’ve tested it out this morning on 2.7.1 and it works great, no issues that I’ve seen. I’ll definitely be using this.
I think, if it was an option, that I turn it off when the button is “Update Page” and not “Publish”. Once it’s published, I don’t really need a warning anymore. But I could see how some would want the warning there all the time.
An idea for a future release would be to add the warning to the “Quick Edit” area as well. You can publish an article from there, and at the moment it doesn’t warn you.
Good work Drew!
Great suggestions Chris, I think I will definitely be implementing some of your suggestions and a few other fixes shortly. I never even thought of the quick edit section, I appreciate it!
Excellent idea. but as far as I am aware, many bloggers are using 3rd party software (i.e. Live Writer, etc) rather than WordPress Write Post page for writing/editing an article.
UI tweaks are always welcome. Thanks!
@Jason and @Arian Thanks guys!
There will be another release soon that fixes a few small issues (a few that Chris pointed out) and other small changes
Hi Drew
Just hit the publish button by mistake and then made the post private and changed the publish date so that it wouldn’t show up on the site.
Trouble is… had people saying that the RSS feed told them it had been published and the feed gave a blank page.
Should have had this plugin! Horse… stable door.
Can I download it from wordpress.org – if so what’s the plugin called?
I had a little search and couldn’t find it.
You can download it from the download button above, simply unzip and drag the main plugin folder to your plugins folder and activate
Thanks!!
This really is nice and very welcome!!