[wp-trac] [WordPress Trac] #20937: Comments don't show in non-post edit screen meta box

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 13 10:58:34 UTC 2012


#20937: Comments don't show in non-post edit screen meta box
--------------------------+-----------------------------
 Reporter:  duck_         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.4
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 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 [20164] 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'.

 Original report: http://wordpress.org/support/topic/comments-not-showing-
 on-edit-post-page

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20937>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list