Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…d fixed, closed issue #9
  • Loading branch information...
commit fd5aed9e35c12410aad72a1bc96094dd00f2660f 1 parent 63ce3f8
@bueltge authored
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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.