After [34891], rename new post type and taxonomy label keys to match the default strings.

See #32147.

git-svn-id: https://develop.svn.wordpress.org/trunk@35376 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2015-10-23 16:47:57 +00:00
parent 46ae6f1892
commit c7cc7c44fe
4 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -249,9 +249,9 @@ if ( 'post' == $post_type ) {
}
get_current_screen()->set_screen_reader_content( array(
'heading_views' => $post_type_object->labels->views,
'heading_pagination' => $post_type_object->labels->pagination,
'heading_list' => $post_type_object->labels->list,
'heading_views' => $post_type_object->labels->filter_items_list,
'heading_pagination' => $post_type_object->labels->items_list_navigation,
'heading_list' => $post_type_object->labels->items_list,
) );
add_screen_option( 'per_page', array( 'default' => 20, 'option' => 'edit_' . $post_type . '_per_page' ) );