#8233 closed defect (bug) (invalid)
comment_reply_link prints a link even when comments are closed
| Reported by: | ionfish | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | 2.7 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
comment_reply_link shouldn't be printing a reply link when comments for that post are closed.
Attachments (1)
Change History (6)
#1
in reply to: ↑ description
@
18 years ago
- Severity normal → minor
#2
@
18 years ago
It's called in Walker_Comment, and wp_list_comments() lets theme authors pass in a different class anyway.
#3
@
18 years ago
get_comment_reply_link() that's echoed from comment_reply_link() returns false when comments are closed, so if there's something returned, the problem is probably somewhere else.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Replying to ionfish:
And the template should not be calling comment_reply_link() either...