[wp-trac] [WordPress Trac] #27831: Hide Comments Icon & Count from Toolbar when there are no pending comments
WordPress Trac
noreply at wordpress.org
Wed Mar 10 19:27:55 UTC 2021
#27831: Hide Comments Icon & Count from Toolbar when there are no pending comments
-------------------------------------+--------------------------
Reporter: celloexpressions | Owner: sabernhardt
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.8
Component: Toolbar | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: ui
-------------------------------------+--------------------------
Changes (by sabernhardt):
* keywords: has-patch 2nd-opinion => has-patch needs-refresh
* owner: (none) => sabernhardt
* status: new => accepted
* milestone: Future Release => 5.8
Comment:
Yes, removing the link entirely when there are no ''new'' comments to
moderate would be better than showing the number zero at half-opacity.
It would be nice to edit the conditional so it allows people to restore
the link if desired, perhaps requiring a plugin similar to Links Manager
after that was deprecated in #21307. Unlike #33165, the comment moderation
link involves mainly administrators (plus editors), and the option to
hide/show based on the count was not made available before.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27831#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list