WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 10 years ago

#17931 closed defect (bug) (fixed)

comments post_type_support() check for wp_comment_reply()

Reported by: zeo Owned by: nacin
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.2
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

wp_comment_reply() is loaded even post type doesn't support comments.

Attachments (1)

17931.diff (526 bytes) - added by zeo 11 years ago.

Download all attachments as: .zip

Change History (4)

@zeo
11 years ago

#1 @scribu
11 years ago

  • Component changed from General to Administration
  • Keywords 3.3-early added
  • Milestone changed from Awaiting Review to Future Release

Makes sense.

#2 @SergeyBiryukov
10 years ago

  • Keywords 3.3-early removed
  • Milestone changed from Future Release to 3.3

#3 @nacin
10 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [19170]:

Only call wp_comment_reply() on post.php if the post type supports comments. props zeo, fixes #17931.

Note: See TracTickets for help on using tickets.