Skip to content

Commit 737090f

Browse files
committed
Passing overall to counter works properly
1 parent 17a7dd5 commit 737090f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-counter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public static function get_post_count_only( $post = 0, $counter = 'total', $blog
258258
$blog_id = get_current_blog_id();
259259
}
260260

261-
if ( $id > 0 ) {
261+
if ( $id > 0 || 'overall' === $counter ) {
262262
$resultscount = false;
263263
switch ( $counter ) {
264264
case 'total':

0 commit comments

Comments
 (0)