From 6bee78edcfa93a8b37ce59922ba2f464848bf7ee Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 24 Apr 2018 21:34:59 +0000 Subject: [PATCH] Privacy: fix styling of counts on the list tables for user requests. Props allendav. Fixes #43846. git-svn-id: https://develop.svn.wordpress.org/trunk@43000 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/user.php b/src/wp-admin/includes/user.php index 9638e5de64..21fb2a43ce 100644 --- a/src/wp-admin/includes/user.php +++ b/src/wp-admin/includes/user.php @@ -1058,11 +1058,11 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table { $counts = wp_count_posts( $this->post_type ); $current_link_attributes = empty( $current_status ) ? ' class="current" aria-current="page"' : ''; - $views['all'] = '" . esc_html__( 'All' ) . ' (' . absint( array_sum( (array) $counts ) ) . ')'; + $views['all'] = '" . esc_html__( 'All' ) . ' (' . absint( array_sum( (array) $counts ) ) . ')'; foreach ( $statuses as $status => $label ) { $current_link_attributes = $status === $current_status ? ' class="current" aria-current="page"' : ''; - $views[ $status ] = '" . esc_html( $label ) . ' (' . absint( $counts->$status ) . ')'; + $views[ $status ] = '" . esc_html( $label ) . ' (' . absint( $counts->$status ) . ')'; } return $views;