Support » Plugin: Peter's Collaboration E-mails » currently editing this post issue

  • This may seem off-topic but it affects the use of this plugin – wondering if you have an idea.

    I’m testing this plugin along with your post notes plugin. But every time I go back and forth with contributors we are getting that “… is currently editing this post” error at the top of the posts even though we are not in the posts. I thought I’d resolved that a while ago with this function added to my functions.php, but no such luck:

    add_action( 'wp', 'post_pw_sess_expire' );
        function post_pw_sess_expire() {
        if ( isset( $_COOKIE['wp-postpass_' . COOKIEHASH] ) )
        // Setting a time of 0 in setcookie() forces the cookie to expire with the session
        setcookie('wp-postpass_' . COOKIEHASH, '', 0, COOKIEPATH);

    Its kind of annoying to get the email notices to check your post and then get that error. Again, I realize its nothing to do with your plugins, but you could say its interfering with the smooth operation of the process. Do you have a suggestion?

  • The topic ‘currently editing this post issue’ is closed to new replies.