[wp-trac] [WordPress Trac] #27111: Turning off global comments should include existing content

WordPress Trac noreply at wordpress.org
Wed Mar 5 22:38:18 UTC 2014


#27111: Turning off global comments should include existing content
-------------------------+-----------------------------
 Reporter:  jenmylo      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.9
Component:  Comments     |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration
-------------------------+-----------------------------

Comment (by obenland):

 Added a patch that piggybacks off of `_close_comments_for_old_post|s` as
 mentioned in IRC a while back. Additionally makes the label indicate that
 it toggles status for all articles, not only new ones.

 I was not sure how handle the old brace style in new patches. Do we update
 only in new code, or in the entire function we change?

 How set are we on disabling other settings based on the value of
 `default_comment_status`?

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


More information about the wp-trac mailing list