Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#8233 closed defect (bug) (invalid)

comment_reply_link prints a link even when comments are closed

Reported by: ionfish's profile ionfish 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)

8233.diff (568 bytes) - added by ionfish 16 years ago.

Download all attachments as: .zip

Change History (6)

@ionfish
16 years ago

#1 in reply to: ↑ description @azaozz
16 years ago

  • Severity changed from normal to minor

Replying to ionfish:

comment_reply_link shouldn't be printing a reply link when comments for that post are closed.

And the template should not be calling comment_reply_link() either...

#2 @ionfish
16 years ago

It's called in Walker_Comment, and wp_list_comments() lets theme authors pass in a different class anyway.

#3 @azaozz
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.

#4 @ionfish
16 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Can't seem to reproduce this issue now. Thanks for your patience Andrew.

#5 @ionfish
16 years ago

  • Milestone 2.7 deleted
Note: See TracTickets for help on using tickets.