From 13875fbddb3ff4b137d0e0958ef20bff9d38e4db Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 24 Apr 2018 21:35:21 +0000 Subject: [PATCH] Privacy: fix styling of counts on the list tables for user requests. Props allendav. Fixes #43846. Built from https://develop.svn.wordpress.org/trunk@43000 git-svn-id: http://core.svn.wordpress.org/trunk@42829 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/user.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php index 9638e5de64..21fb2a43ce 100644 --- a/wp-admin/includes/user.php +++ b/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; diff --git a/wp-includes/version.php b/wp-includes/version.php index 07786f158f..e529f2aa93 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42999'; +$wp_version = '5.0-alpha-43000'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.