diff --git a/src/wp-admin/includes/class-wp-links-list-table.php b/src/wp-admin/includes/class-wp-links-list-table.php index 9f3f5c85d5..e4560e480f 100644 --- a/src/wp-admin/includes/class-wp-links-list-table.php +++ b/src/wp-admin/includes/class-wp-links-list-table.php @@ -103,7 +103,7 @@ class WP_Links_List_Table extends WP_List_Table { 'selected' => $cat_id, 'name' => 'cat_id', 'taxonomy' => 'link_category', - 'show_option_all' => __( 'All categories' ), + 'show_option_all' => get_taxonomy( 'link_category' )->labels->all_items, 'hide_empty' => true, 'hierarchical' => 1, 'show_count' => 0, diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php index 8cea725a27..ce68efccbf 100644 --- a/src/wp-admin/includes/class-wp-posts-list-table.php +++ b/src/wp-admin/includes/class-wp-posts-list-table.php @@ -426,7 +426,7 @@ class WP_Posts_List_Table extends WP_List_Table { if ( is_object_in_taxonomy( $this->screen->post_type, 'category' ) ) { $dropdown_options = array( - 'show_option_all' => __( 'All categories' ), + 'show_option_all' => get_taxonomy( 'category' )->labels->all_items, 'hide_empty' => 0, 'hierarchical' => 1, 'show_count' => 0,