I have a custom post type with comments enabled. The comments metabox in the admin only appears when the post is published. I’m wanting to use the comments system as more of a discussion between certain authors (it will be hidden on the front end) so I would like the commenting system to be active when the posts are draft, pending or published. Is this possible?
I should note that I have tried the edit flow plugin which has the “editorial comments” feature, however it introduces more issues with capabilities etc and doesn’t suit what I am trying to achieve.
The following enables the default meta box for
draft
andpending
posts (in theportfolio
post_type
):But, we cannot comment…
To correct this, the Ajax call must be intercepted with:
Alternatives
Editorially, I understand that the comments system and interface would be much better. An alternative is to create a custom meta box with repeatable fields, where messages can be left within the post.
Basic implementation:
Plugins of interest:
Further developments
I went ahead and made a plugin with more features.
Kudos @toscho, that pointed an entry point in the Ajax query.