Comments don't show in non-post edit screen meta box
|Reported by:||duck_||Owned by:||duck_|
Add some comments to a page and enable the Comments meta box on the page edit screen.
Expected: List of comments shown in the meta box.
Actual: No comments list. Just the "Add Comment" button.
This happens for all non-post content types.
In 3.3 the comments were not listed either, but a "Show Comments" link was available to fetch the list. Its disappearance was caused by  which set the "Show Comments" link to always have the .hidden class. The removal of this link also means that a page refresh is required when enabling the meta box for the first time instead of being able to load the comments with a click.
It's possible to get the comments list to be displayed by enabling the comments meta box on the Post screen too. The fix for this is to use get_current_screen() in post_comment_meta_box() instead of just 'post'.
Change History (9)
comment:5 markjaquith — 18 months ago
- Resolution set to fixed
- Status changed from assigned to closed