[wp-trac] [WordPress Trac] #27831: Hide Comments Icon & Count from Toolbar when there are no pending comments
WordPress Trac
noreply at wordpress.org
Wed Apr 16 04:39:38 UTC 2014
#27831: Hide Comments Icon & Count from Toolbar when there are no pending comments
------------------------------+------------------------------
Reporter: celloexpressions | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Toolbar | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui
------------------------------+------------------------------
Changes (by celloexpressions):
* keywords: => has-patch
Comment:
Patch doesn't account for live-updating of the comment count when comments
are approved/unapproved, but I think it's better this way. If the count
goes down to zero, you can still see the number change to zero, then the
icon is gone on the next pageload. If there were zero pending comments and
you unapproved one, you wouldn't get it back, but I don't think that's
much of an issue. We could certainly account for those situations
differently if desired, though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27831#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list