[wp-trac] [WordPress Trac] #32610: Pagination counts should use specific terminology, not "items"
WordPress Trac
noreply at wordpress.org
Thu Jun 11 02:56:48 UTC 2015
#32610: Pagination counts should use specific terminology, not "items"
--------------------------------+-----------------------------
Reporter: mikeselander | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Keywords:
Focuses: ui, administration |
--------------------------------+-----------------------------
The pagination counts on every admin list page in the backend use a very
ambiguous "item/items" for the counts above and below the list. This works
for some types of content, but when you're viewing content such as users
the term "items" is very disconnected from the type of data that is shown.
It ends up being very out of line with the specific nature of each of the
listing screens
I propose that we look for the kind of content that is shown on the
particular page and use the plural label instead of the ambiguous "item".
Finding the proper label could be achieved using get_post_type_labels,
get_taxonomy_labels, and even the already existing _args['plural'] on
applicable screens. The data needed for this looks to already exist in the
class for every page except for plugins.
The specific line that prints "item" is currently on line 694 of wp-
admin->includes->class-wp-list-table.php in trunk within the pagination()
function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32610>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list