From 6d590a567b137c02bc28d9b2b43ec239ecf6a612 Mon Sep 17 00:00:00 2001 From: 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: http://svn.automattic.com/wordpress/trunk@14616 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 32c6fa3c3..01d5e9410 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() ); ?>