[wp-trac] [WordPress Trac] #20262: When "Automatically close comments on articles older than X days" is enabled, comments appear closed on draft posts
WordPress Trac
noreply at wordpress.org
Thu Jun 4 19:42:38 UTC 2015
#20262: When "Automatically close comments on articles older than X days" is
enabled, comments appear closed on draft posts
------------------------------+--------------------------
Reporter: evarlese | Owner: rachelbaker
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.3
Component: Comments | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+--------------------------
Changes (by rachelbaker):
* keywords: has-patch dev-feedback => has-patch commit
* status: reviewing => accepted
* milestone: Awaiting Review => 4.3
Comment:
Tested the patch from @MikeHansenMe and it works as intended. With the
"close comments after X days" option enabled comments are no longer closed
on unpublished posts. I added
[https://core.trac.wordpress.org/attachment/ticket/20262/20262.3.diff
20262.3.diff] which just uses a stricter check on the `publish`
conditional.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20262#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list