Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #27111, comment 15


Ignore:
Timestamp:
03/09/2014 11:02:45 PM (11 years ago)
Author:
jackreichert
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27111, comment 15

    initial v1  
    55>  * What if you then want to go back and set one of those posts to 'open'? This, I am not sure about. This is where forcibly updating the DB would have been easier, as there's no transient state then. We would need to come up with a new status 'override-open' which forces it to be open, even though a filter has dictated it to be closed.
    66
    7 It the patch I submitted above (#comment:3), instead of changing the functionality of `close_comments_for_old_post`, I added an extra option to the options table: `global_comment_status`. This way you can close off all comments but it wouldn't effect the specific comment's status.
     7It the patch I submitted above (#comment:3), instead of changing the functionality of `default_comment_status`, I added an extra option to the options table: `global_comment_status`. This way you can close off all comments but it wouldn't effect the specific comment's status.
    88
    99That solves two problems: