Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#17931 closed defect (bug) (fixed)

comments post_type_support() check for wp_comment_reply()

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


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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

13 years ago

#1 @scribu
13 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
13 years ago

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

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