[2.5] Stop to remove the 'all' from wp_count_comments(), closes #10441
This commit is contained in:
parent
d4df89e1b9
commit
19019f75ca
|
@ -271,6 +271,7 @@ class WC_Comments {
|
|||
}
|
||||
|
||||
$stats['total_comments'] = $total;
|
||||
$stats['all'] = $total;
|
||||
foreach ( $approved as $key ) {
|
||||
if ( empty( $stats[ $key ] ) ) {
|
||||
$stats[ $key ] = 0;
|
||||
|
|
Loading…
Reference in New Issue