Hi
Since WP 5.5 the warning pops up even when I hit plan instead of publish. This should be avoided
Cheers
Hansj?rg
Hello,
When I try to unset confirmation for some custom post types, it still have always the message.
I’ve update your method inject_js() to take care of the result returned by the method validate_post_type()
public static function inject_js() {
if( self::validate_post_type() ) {
// Is jQuery loaded.
if ( ! wp_script_is( 'jquery', 'done' ) ) {
return;
}
// Print javascript.
self::_print_js( self::get_message() );
}
}
I’ve also simplify the method validate_post_type()
...
...
return in_array( $current_pt, (array) $include_pts, true );
Regards,
Olivier
Thanks for this very useful plugin!
It would like to suggest having the confirmation dialog appear as well when trying to submit, update, schedule or delete a WordPress post/page.
Or could this be done via a filter?
]]>Is there any way, how to make this plugin pop-up only on pages, that are going to be published publicaly? I mean, I need it to pop-up when I click Publish, but not when I click Update (private post).
]]>Hi,
Thanks for your plugin. It’s simple and perfect!
I’m not an expert. I would like to use this plugin in French. This is the first time I want to translate (Poedit) a plugin. I made the files “publish_confirm-fr_FR.mo” and “publish_confirm-fr_FR.po”.
I put these files in the file “lang” by ftp but it does not work.
You may need to prepare a file.php to host this translation?
The French translation file would be a good idea for the next update. ??
PS: I am at your disposal if you want these files. I think I do not know how to send them here
Beno?t
]]>hello,
firstly, great little plugin, thanks.
One small improvement: when post is scheduled for future publish and the ‘Update’ button is clicked, it still says ‘Are you sure you want to publish’. It would be good if it could have a more appropriate message depending on what the current post status is.
It was confusing a client of mine that’s all.
Could this be added in future releases?
Regards,
Paul