[wp-trac] [WordPress Trac] #50538: WP_Comments_List_Table should not show views that have a count of 0

WordPress Trac noreply at wordpress.org
Thu Jul 2 22:32:01 UTC 2020


#50538: WP_Comments_List_Table should not show views that have a count of 0
-----------------------------------------+------------------------------
 Reporter:  pbiron                       |       Owner:  pbiron
     Type:  enhancement                  |      Status:  assigned
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Comments                     |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  needs-patch has-screenshots  |     Focuses:  administration
-----------------------------------------+------------------------------

Comment (by pbiron):

 Replying to [comment:2 SergeyBiryukov]:
 > I think the process of moderating comments is generally different from
 working with pending posts, so it might be beneficial to always display
 "Pending (0)" to make sure there are no more comments left to moderate,
 even if that's inconsistent with the posts table.

 That's similar to what @garret-eclipse said in
 [https://core.trac.wordpress.org/ticket/47495#comment:4 #47495] in
 relation to the privacy requests list table, and I don't see the
 reasoning.

 If the `Pending` view is not displayed then there are no more comments
 left to moderate.  In fact, I would think it would be **easier** to know
 that there were none left to moderate if the view were **not** displayed
 when the count is 0 (but I don't do comment moderation on real world
 sites, so maybe those who do have a different perspective).

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


More information about the wp-trac mailing list