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
This commit is contained in:
parent
3ec2d2fcfa
commit
c8050da1d3
|
@ -362,7 +362,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||||
'name' => __( 'Name' ),
|
'name' => __( 'Name' ),
|
||||||
'email' => __( 'Email' ),
|
'email' => __( 'Email' ),
|
||||||
'role' => __( 'Role' ),
|
'role' => __( 'Role' ),
|
||||||
'posts' => __( 'Posts' ),
|
'posts' => _x( 'Posts', 'post type general name' ),
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( $this->is_site_users ) {
|
if ( $this->is_site_users ) {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue