#16090 closed enhancement (fixed)
_close_comments_for_old_posts should not close pages
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.2 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Comments | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
_close_comments_for_old_posts should do a check on the post_type and not apply itself to Pages.
Attachments (3)
Change History (15)
#2
@
14 years ago
- Keywords 3.2-early added
- Milestone changed from Awaiting Review to Future Release
- Owner set to westi
- Status changed from new to accepted
#3
@
14 years ago
- Keywords has-patch commit added; 3.2-early removed
- Milestone changed from Future Release to 3.2
#4
@
14 years ago
Should this be whitelisted for posts, rather than blacklisted for pages? Should the whitelist or blacklist be filterable for CPTs?
#5
@
14 years ago
Filterable makes sense.
Whitelist vs. blacklist I have no opinion on. Either way, an in_array check on a filtered array is easy enough to do.
#6
@
14 years ago
IMHO it should whitelist itself and only apply to posts.
CPTs can do there own thing.
#8
@
14 years ago
I'll be contrary and say it should apply to all types. If I check this box it means I am lazy and don't want to moderate comments on any old content.
#9
@
14 years ago
But the concept of "oldness" doesn't really apply to pages. They don't exist chronologically. Yeah, they have a timestamp, but they don't fade away in prominence just because their timestamp is old.
patch to not close comments on pages automatically