Skip to content
Browse files

change return string to closed, default return for closed comments an…

…d fixed, closed issue #9
  • Loading branch information...
1 parent 63ce3f8 commit fd5aed9e35c12410aad72a1bc96094dd00f2660f @bueltge committed Feb 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 remove-comments-absolute.php
View
2 remove-comments-absolute.php
@@ -130,7 +130,7 @@ public function close_comments( $open, $post_id ) {
$post = get_post( $post_id );
if ( $post->post_type ) // all post types
- return FALSE;
+ return 'closed'; // @see http://codex.wordpress.org/Option_Reference#Discussion
return $open;
}

0 comments on commit fd5aed9

Please sign in to comment.
Something went wrong with that request. Please try again.