[wp-trac] [WordPress Trac] #35519: Dashboard At a Glance: comment counter isn't updated if to approve comment
WordPress Trac
noreply at wordpress.org
Mon Jan 18 22:49:54 UTC 2016
#35519: Dashboard At a Glance: comment counter isn't updated if to approve comment
---------------------------------------+------------------------------
Reporter: antonrinas | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.4.1
Severity: minor | Resolution:
Keywords: has-patch has-screenshots | Focuses: ui
---------------------------------------+------------------------------
Changes (by afercia):
* keywords: => has-patch has-screenshots
* focuses: => ui
Comment:
This happens only when there are 0 approved comments. The comment counts
in `wp_dashboard_right_now()` should probably be displayed also in the
rare, initial, condition when there are 0 approved comments and only
pending comments.
Fixing this initial condition, then the AJAX count update works fine, as
far as I see.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35519#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list