Skip to content

Commit 6e55104

Browse files
committed
Users: Use the "Posts" post type general name to contextualize the string used in Users posts count column label.
Since some locales may differentiate "Posts" generic post type name (works for both posts, pages, and custom post types) and "Posts" when speaking about blogposts, this change aims to contextualize the use of the "Posts" string in the "Users" admin screen. This change reuses the string used for the "Posts" post type registration, to avoid introducing any new string to translate. Props audrasjb, jdy68, SergeyBiryukov. Fixes #54712. git-svn-id: https://develop.svn.wordpress.org/trunk@52426 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a1abc11 commit 6e55104

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-admin/includes/class-wp-users-list-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ public function get_columns() {
362362
'name' => __( 'Name' ),
363363
'email' => __( 'Email' ),
364364
'role' => __( 'Role' ),
365-
'posts' => __( 'Posts' ),
365+
'posts' => _x( 'Posts', 'post type general name' ),
366366
);
367367

368368
if ( $this->is_site_users ) {

0 commit comments

Comments
 (0)