Opened 14 years ago
Closed 13 years ago
#14101 closed defect (bug) (worksforme)
comments_open returns false on page
Reported by: | 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)
Note: See
TracTickets for help on using
tickets.
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.