Ticket #23428: comment-template.diff
File comment-template.diff, 448 bytes (added by , 11 years ago) |
---|
-
wp-includes/comment-template.php
773 773 774 774 $_post = get_post($post_id); 775 775 776 $open = ( 'open' == $_post->comment_status );776 $open = ( null != $_post && 'open' == $_post->comment_status ); 777 777 return apply_filters( 'comments_open', $open, $post_id ); 778 778 } 779 779