Publish Confirm


As the Gutenberg editor introduced in WordPress 5.0 contains a similar functionality, the development of this plugin is discontinued.
The plugin only supports the classic editor (even when using WordPress 5.2 with the Classic Editor plugin).

If you only use the Gutenberg editor, Publish Confirm won’t have any effect. In this case you can uninstall the plugin.

Accidentally published a WordPress post too early once too often, instead of saving it as a draft? This lightweight WordPress plugin implements an extra confirmation dialogue between your click on the Publish button and its actual processing. Simple and effective—never publish by accident again!

Once a post has been published, the confirmation dialogue will not appear anymore for that post.



Does *Publish Confirm* work for posts and pages?

Yes, it does.

And Custom Post Types?


Can I limit/extend the plugin’s functionality for a custom selection of post types?

Yes, you can, via PHP filter from a custom plugin or from your theme’s functions.php. By default, the plugin will consider all registered post types. As an example, you could only have a confirmation dialogue for public post types, excluding attachments, like this:

    function ( $post_types ) {

        $post_types = get_post_types( array( 'public' => true ) );

        if ( isset( $post_types[ 'attachment' ] ) ) {
            unset( $post_types[ 'attachment' ] );

        return $post_types;

Or you can exclude your particular custom post type from the confirmation dialogue like so:

    function ( $post_types ) {

        if ( isset( $post_types[ 'your_custom_post_type' ] ) ) {
            unset( $post_types[ 'your_custom_post_type' ] );

        return $post_types;
Is there any way to change the default dialogue message into something else?

The message text in the publishing dialogue can be changed via PHP filter from a custom plugin or your theme’s functions.php:

    function( $msg ) {
        return "You’re about to send this out into the world.\nHave you added a kitten pic?";


Ziemlich unhandelbar, sehr mau

Ich verstehe nicht wieso keine Übersetzungsdateien im ZIP enthalten sind Ich verstehe nicht weshalb es keine Einstellungen gibt, wo man den Text selbst definieren kann Ich verstehe nicht weshalb die Übersetzungen bei WordPress erstellt werden im Translate-Projekt, aber beim Plugin kein Download angeboten wird Ich bin eigentlich von Sergej Müllers Plugins besseres gewohnt, dieses Plugin ist einfach nur eine blöde Krücke dann kann man doch gleich in der functions.php die Funktionalität selbst einbauen...

A real lifesaver!

Thank you for this plugin! It works perfectly for me and, to be quite honest, I have absolutely no idea why a failsafe like this one isn't included in core. Thanks for putting it out there for us users who aren't nearly as perfect as WordPress developers apparently think we are. 😉
Lire les 11 avis

Contributeurs & développeurs

« Publish Confirm » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.


“Publish Confirm” a été traduit dans 4 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Publish Confirm » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.


1.0.2 (2018-01-08)

  • Discontinued Publish Confirm

1.0.1 (2017-03-09)

  • Added Exception for ‘Schedule’ button.

1.0.0 (2016-12-16)


  • Code cleanup, props @bueltge
  • Filter translatable strings
  • Tested WordPress 4.6 compatibility
  • standardized text domain to include a dash instead of an underscore
  • added filter to manage which post types the plugin functionality will apply to
  • updated plugin authors


  • WordPress 4.2 support
  • Russian translation


  • No confirmation dialogue for scheduled posts


  • Publish confirmation for post drafts


  • Publish Confirm goes