[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 wp-trac at lists.automattic.com
Tue Mar 20 15:14:21 UTC 2012


#20262: When "Automatically close comments on articles older than X days" is
enabled, comments appear closed on draft posts
--------------------------+-----------------------------
 Reporter:  evarlese      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 If the setting to "Automatically close comments on articles older than X
 days" is enabled via Settings -> Discussion, comments automatically appear
 as closed on draft posts until the post is published. This is regardless
 of the Discussion settings configured on the Post Edit page for the draft
 post.

 To replicate:

 1. Via Settings -> Discussion, click on "Automatically close comments on
 articles older than X days."

 2. Create a new post and save it as a draft. Make sure comments are
 enabled in your Discussion module.

 3. When previewing the draft post, it will say "Comments closed"
 regardless of the Discussion settings.

 The post will show comments as being allowed once it's published, they
 only show up as closed when in the draft format.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20262>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list