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-links-list-table.php

    r36792 r36808  
    104104                'name' => 'cat_id',
    105105                'taxonomy' => 'link_category',
    106                 'show_option_all' => __( 'All categories' ),
     106                'show_option_all' => get_taxonomy( 'link_category' )->labels->all_items,
    107107                'hide_empty' => true,
    108108                'hierarchical' => 1,
Note: See TracChangeset for help on using the changeset viewer.