#8233 closed defect (bug) (invalid)
comment_reply_link prints a link even when comments are closed
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 2.7 |
Component: | Comments | Keywords: | |
Focuses: | Cc: |
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
@
16 years ago
- Severity changed from normal to minor
#2
@
16 years ago
It's called in Walker_Comment, and wp_list_comments() lets theme authors pass in a different class anyway.
#3
@
16 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.
Replying to ionfish:
And the template should not be calling comment_reply_link() either...