Privacy: Include request counts inline with the filters in the list table views.

Fixes $44952
Props eArtboard, pratikkry, birgire, garrett-eclipse.

git-svn-id: https://develop.svn.wordpress.org/trunk@44668 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2019-01-21 17:35:00 +00:00
parent 59e31e0e4d
commit c0a1cf27e6
2 changed files with 8 additions and 2 deletions

View File

@@ -391,6 +391,7 @@ function create_initial_post_types() {
'label' => _x( 'Pending', 'request status' ),
'internal' => true,
'_builtin' => true, /* internal use only. */
'label_count' => _n_noop( 'Pending <span class="count">(%s)</span>', 'Pending <span class="count">(%s)</span>' ),
'exclude_from_search' => false,
)
);
@@ -401,6 +402,7 @@ function create_initial_post_types() {
'label' => _x( 'Confirmed', 'request status' ),
'internal' => true,
'_builtin' => true, /* internal use only. */
'label_count' => _n_noop( 'Confirmed <span class="count">(%s)</span>', 'Confirmed <span class="count">(%s)</span>' ),
'exclude_from_search' => false,
)
);
@@ -411,6 +413,7 @@ function create_initial_post_types() {
'label' => _x( 'Failed', 'request status' ),
'internal' => true,
'_builtin' => true, /* internal use only. */
'label_count' => _n_noop( 'Failed <span class="count">(%s)</span>', 'Failed <span class="count">(%s)</span>' ),
'exclude_from_search' => false,
)
);
@@ -421,6 +424,7 @@ function create_initial_post_types() {
'label' => _x( 'Completed', 'request status' ),
'internal' => true,
'_builtin' => true, /* internal use only. */
'label_count' => _n_noop( 'Completed <span class="count">(%s)</span>', 'Completed <span class="count">(%s)</span>' ),
'exclude_from_search' => false,
)
);