Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#17931 closed defect (bug) (fixed)

comments post_type_support() check for wp_comment_reply()

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

Description

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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

@zeo
15 years ago

#1 @scribu
15 years ago

  • Component GeneralAdministration
  • Keywords 3.3-early added
  • Milestone Awaiting ReviewFuture Release

Makes sense.

#2 @SergeyBiryukov
15 years ago

  • Keywords 3.3-early removed
  • Milestone Future Release3.3

#3 @nacin
15 years ago

  • Owner set to nacin
  • Resolutionfixed
  • Status newclosed

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.