Make WordPress Core


Ignore:
Timestamp:
08/01/2014 06:31:52 PM (11 years ago)
Author:
helen
Message:

Use the word "Count" instead of the post type label in taxonomy list tables to prevent layout issues. It is also more accurate, as it represents a count of all post types, not just one.

props philipjohn, GaVrA, seanchayes. fixes #17209.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-terms-list-table.php

    r29206 r29343  
    128128            $columns['links'] = __( 'Links' );
    129129        } else {
    130             $post_type_object = get_post_type_object( $this->screen->post_type );
    131             $columns['posts'] = $post_type_object ? $post_type_object->labels->name : __( 'Posts' );
     130            $columns['posts'] = _x( 'Count', 'Number/count of items' );
    132131        }
    133132
Note: See TracChangeset for help on using the changeset viewer.