[wp-trac] [WordPress Trac] #35519: Dashboard At a Glance: comment counter isn't updated if to approve comment
WordPress Trac
noreply at wordpress.org
Fri Apr 22 19:28:47 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: 4.6
Component: Comments | Version: 4.1
Severity: minor | Resolution:
Keywords: has-screenshots has-patch | Focuses: ui
---------------------------------------+------------------
Changes (by rachelbaker):
* keywords: has-screenshots has-patch needs-refresh => has-screenshots
has-patch
Comment:
@afercia It looks to me as though we should just remove the conditional
check `if ( $num_comm && $num_comm->approved )`, see
[attachment:35519.2.patch]. Any reason you would prefer your approach?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35519#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list