Title: Allow comments on drafts
Last modified: August 18, 2016

---

# Allow comments on drafts

 *  [mannex](https://wordpress.org/support/users/mannex/)
 * (@mannex)
 * [19 years ago](https://wordpress.org/support/topic/allow-comments-on-drafts/)
 * Hello,
 * I don’t know why comments are not allowed on drafts, but for multi-author blogs
   it would be great to be able to do it. I’ve tried to edit wp-comments-post.php(
   [http://trac.wordpress.org/browser/branches/1.5/wp-comments-post.php?rev=2842](http://trac.wordpress.org/browser/branches/1.5/wp-comments-post.php?rev=2842))
   but havn’t managed to get it working.
 * Any ideas?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years ago](https://wordpress.org/support/topic/allow-comments-on-drafts/#post-571811)
 * Since drafts are not shown publicly… it just doesn’t make sense.
 *  Thread Starter [mannex](https://wordpress.org/support/users/mannex/)
 * (@mannex)
 * [19 years ago](https://wordpress.org/support/topic/allow-comments-on-drafts/#post-571814)
 * As I said, for multi-author blogs it would be good. All authors can see all drafts.
   Clicking “View” from Edit posts is the best way to read another mans post. Once
   there, submitting a comment seems logical.
 *  [Marcel Brinkkemper](https://wordpress.org/support/users/macbrink/)
 * (@macbrink)
 * [19 years ago](https://wordpress.org/support/topic/allow-comments-on-drafts/#post-571828)
 * it would be good but does it make sense to make such an effort to go into source
   code?
    Why don’t you use a category e.g. ‘draft’ which is not shown on the main
   page, with password protected posts? You share the password with other authors
   and when the post is ready to really-publish remove the password and change the
   category.
 *  Thread Starter [mannex](https://wordpress.org/support/users/mannex/)
 * (@mannex)
 * [19 years ago](https://wordpress.org/support/topic/allow-comments-on-drafts/#post-572326)
 * that would be one solution, but for the end user it just seems to be to much 
   hazzle…
 *  Thread Starter [mannex](https://wordpress.org/support/users/mannex/)
 * (@mannex)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/allow-comments-on-drafts/#post-572439)
 * No one?
 *  [aks2007](https://wordpress.org/support/users/aks2007/)
 * (@aks2007)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/allow-comments-on-drafts/#post-572487)
 * I was able to do this by making the following change to wp-comments-post.php
 *     ```
       if ( empty($status->comment_status) ) {
       	do_action('comment_id_not_found', $comment_post_ID);
       	exit;
       } elseif ( 'closed' ==  $status->comment_status ) {
       	do_action('comment_closed', $comment_post_ID);
       	wp_die( __('Sorry, comments are closed for this item.') );
       // } elseif ( in_array($status->post_status, array('draft', 'pending') ) ) {
       //	do_action('comment_on_draft', $comment_post_ID);
       //	exit;
       }
       ```
   
 * Does that make sense?
 *  Thread Starter [mannex](https://wordpress.org/support/users/mannex/)
 * (@mannex)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/allow-comments-on-drafts/#post-572496)
 * Thanks, I will try it right away!
 *  Thread Starter [mannex](https://wordpress.org/support/users/mannex/)
 * (@mannex)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/allow-comments-on-drafts/#post-572497)
 * The comments get saved in the database but are not shown on the post or elsewere…

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Allow comments on drafts’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [drafts](https://wordpress.org/support/topic-tag/drafts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 4 participants
 * Last reply from: [mannex](https://wordpress.org/support/users/mannex/)
 * Last activity: [18 years, 6 months ago](https://wordpress.org/support/topic/allow-comments-on-drafts/#post-572497)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
