mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Remove "View" prefix from category filter dropdowns, for consistency with [27626].
props afercia. see #29921. Built from https://develop.svn.wordpress.org/trunk@29871 git-svn-id: http://core.svn.wordpress.org/trunk@29630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2c0947eeee
commit
f013b7e64b
@ -72,7 +72,7 @@ class WP_Links_List_Table extends WP_List_Table {
|
|||||||
'selected' => $cat_id,
|
'selected' => $cat_id,
|
||||||
'name' => 'cat_id',
|
'name' => 'cat_id',
|
||||||
'taxonomy' => 'link_category',
|
'taxonomy' => 'link_category',
|
||||||
'show_option_all' => __( 'View all categories' ),
|
'show_option_all' => __( 'All categories' ),
|
||||||
'hide_empty' => true,
|
'hide_empty' => true,
|
||||||
'hierarchical' => 1,
|
'hierarchical' => 1,
|
||||||
'show_count' => 0,
|
'show_count' => 0,
|
||||||
|
@ -228,7 +228,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
|||||||
|
|
||||||
if ( is_object_in_taxonomy( $this->screen->post_type, 'category' ) ) {
|
if ( is_object_in_taxonomy( $this->screen->post_type, 'category' ) ) {
|
||||||
$dropdown_options = array(
|
$dropdown_options = array(
|
||||||
'show_option_all' => __( 'View all categories' ),
|
'show_option_all' => __( 'All categories' ),
|
||||||
'hide_empty' => 0,
|
'hide_empty' => 0,
|
||||||
'hierarchical' => 1,
|
'hierarchical' => 1,
|
||||||
'show_count' => 0,
|
'show_count' => 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user