mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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' ) );
|
||||
|
||||
Reference in New Issue
Block a user