Make WordPress Core


Ignore:
Timestamp:
03/02/2016 10:13:14 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Taxonomy: Remove unnecessary 'All categories' string on Edit Posts and Edit Links screens and use taxonomy's all_items label instead.

Props johnbillion.
Fixes #36049.

File:
1 edited

Legend:

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

    r36572 r36808  
    427427            if ( is_object_in_taxonomy( $this->screen->post_type, 'category' ) ) {
    428428                $dropdown_options = array(
    429                     'show_option_all' => __( 'All categories' ),
     429                    'show_option_all' => get_taxonomy( 'category' )->labels->all_items,
    430430                    'hide_empty' => 0,
    431431                    'hierarchical' => 1,
Note: See TracChangeset for help on using the changeset viewer.