Make WordPress Core

Opened 14 years ago

Closed 13 years ago

#14101 closed defect (bug) (worksforme)

comments_open returns false on page

Reported by: thetomthorogood's profile TheTomThorogood Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Comments Keywords: reporter-feedback
Focuses: Cc:

Description

The internal functions _close_comments_for_old_posts and _close_comments_for_old_post should check if there dealing with a page and if so return the old value instead of returning false if the page was published older then the threshold.

Change History (3)

#1 @TheTomThorogood
14 years ago

  • Cc TheTomThorogood added

#2 @nacin
13 years ago

  • Keywords reporter-feedback added

Neither _close_comments_for_old_post() nor _close_comments_for_old_posts() returns false on pages. It does no post type check at all, actually. They use the same settings as posts.

#3 @nacin
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.