From c8050da1d38ff47e85b95c1f648b644b06aeff8d Mon Sep 17 00:00:00 2001 From: audrasjb Date: Fri, 31 Dec 2021 15:30:01 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@52426 git-svn-id: http://core.svn.wordpress.org/trunk@52018 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-users-list-table.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-users-list-table.php b/wp-admin/includes/class-wp-users-list-table.php index ead859dc19..45eb16aa28 100644 --- a/wp-admin/includes/class-wp-users-list-table.php +++ b/wp-admin/includes/class-wp-users-list-table.php @@ -362,7 +362,7 @@ class WP_Users_List_Table extends WP_List_Table { 'name' => __( 'Name' ), 'email' => __( 'Email' ), 'role' => __( 'Role' ), - 'posts' => __( 'Posts' ), + 'posts' => _x( 'Posts', 'post type general name' ), ); if ( $this->is_site_users ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 9c58def517..56889f6f11 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-beta4-52425'; +$wp_version = '5.9-beta4-52426'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.