Opened 17 years ago
Closed 17 years ago
#10322 closed defect (bug) (invalid)
comments_open() doesn't work when there are no comments
| Reported by: | iwhitcomb | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Comments | Version: | 2.8 |
| Severity: | normal | Keywords: | reporter-feedback comments open comment_open |
| Cc: | Focuses: |
Description
I'm attempting to use the comments_open() function to simply display or hide my comments form in the comments.php file. My problem seems to be that whether I've got comments enabled or disabled on the post the comments_open() function always returns "closed" when there are zero comments on a post.
I checked the database and there doesn't appear to be an issue with the data. Each of my posts are still "open" for commenting.
Change History (4)
#2
in reply to: ↑ 1
@
17 years ago
- Resolution → fixed
- Status new → closed
Replying to Denis-de-Bernardy:
might it be related to your making old posts become closed automatically?
lol I'm a n00b... thanks. I've been beating my head over that one for a couple days now.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
might it be related to your making old posts become closed automatically?