[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
Fri Oct 30 15:37:33 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.4
Component:  Comments                         |     Version:  3.3
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch commit has-unit-tests  |     Focuses:
---------------------------------------------+--------------------------

Comment (by rachelbaker):

 In [attachment:20262.6.diff] I corrected uses of
 `self::factory()->post->create_and_get()` where I was expecting to return
 the post_id to the correct factory method
 `self::factory()->post->create()` thanks to feedback from @wonderboymusic.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20262#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list