From df111e4021d92caeef2a68f13cf92407e9e04fe2 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 14 May 2010 01:45:30 +0000 Subject: [PATCH] Use 'Posts', 'Pages', and corresponding custom post type names as the edit.php title. fixes #12968, fixes #11274. git-svn-id: https://develop.svn.wordpress.org/trunk@14616 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 32c6fa3c31..01d5e94102 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -154,6 +154,7 @@ if ( $post_type_object->hierarchical ) else $num_pages = $wp_query->max_num_pages; +$title = $post_type_object->labels->name; require_once('./admin-header.php'); if ( empty($_GET['mode']) ) @@ -163,7 +164,7 @@ else
-

labels->edit_item ); ?> labels->add_new); ?> labels->name ); ?> labels->add_new); ?> ' . __('Search results for “%s”') . '', get_search_query() ); ?>