mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-11 22:29:48 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@36808 git-svn-id: http://core.svn.wordpress.org/trunk@36775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a0978ec8b4
commit
1dc98b2e49
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta1-36807';
|
||||
$wp_version = '4.5-beta1-36808';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user